Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 90.72 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 177 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002354, allocations: 4 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.08788, allocations: 50.41 MB / 351.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01296/0.1009, allocations: 12.09 MB / 363.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1113, allocations: 4.17 MB / 368.1 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.1141, allocations: 67.75 kB / 368.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0037/0.1179, allocations: 0.8513 MB / 369 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.1221, allocations: 1.177 MB / 370.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.124, allocations: 0.7748 MB / 371 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1852/0.3092, allocations: 4.302 MB / 375.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.3131, allocations: 2.675 MB / 378 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.3158, allocations: 1.303 MB / 379.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.3183, allocations: 1.713 MB / 381 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004426/0.3187, allocations: 207.2 kB / 381.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.32, allocations: 417.9 kB / 381.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007905/0.3208, allocations: 0.7792 MB / 382.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.323, allocations: 1.753 MB / 384.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006803/0.3298, allocations: 6.324 MB / 390.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3299, allocations: 0 / 390.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3299, allocations: 0 / 390.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001525/0.3301, allocations: 4 kB / 390.4 MB, free: 5.984 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01096/0.341, allocations: 3.73 MB / 394.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3411, allocations: 8.25 kB / 394.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.346, allocations: 0.8173 MB / 395 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/0.3508, allocations: 2.36 MB / 397.4 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.3509, allocations: 237 kB / 397.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004786/0.3514, allocations: 316 kB / 397.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007134/0.3585, allocations: 4.269 MB / 402.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.3586, allocations: 3.188 kB / 402.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.3589, allocations: 131.9 kB / 402.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.3591, allocations: 142.2 kB / 402.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006295/0.3654, allocations: 3.678 MB / 406.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/0.3861, allocations: 13.57 MB / 419.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006679/0.3929, allocations: 6.868 MB / 426.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.3952, allocations: 1.43 MB / 428 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006115/0.4013, allocations: 3.649 MB / 431.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.4014, allocations: 51.56 kB / 431.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 2.986e-06/0.4014, allocations: 0 / 431.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01353/0.415, allocations: 6.709 MB / 438.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.415, allocations: 64.72 kB / 438.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.4181, allocations: 1.859 MB / 440.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.4182, allocations: 57.69 kB / 440.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009293/0.4191, allocations: 1.412 MB / 441.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.4195, allocations: 0.4955 MB / 442.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.4197, allocations: 133.6 kB / 442.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.4198, allocations: 305.1 kB / 442.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.421, allocations: 0.7691 MB / 443.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4226, allocations: 1.235 MB / 444.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.4254, allocations: 2.122 MB / 446.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4254, allocations: 4 kB / 446.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004504/0.4299, allocations: 2.675 MB / 449.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.43, allocations: 16.03 kB / 449.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.43, allocations: 19.94 kB / 449.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.4314, allocations: 0.506 MB / 450.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.4328, allocations: 391.4 kB / 450.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/0.4407, allocations: 6.401 MB / 456.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.4423, allocations: 79.86 kB / 456.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.4425, allocations: 71.98 kB / 457 MB, free: 5.395 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002087/0.4445, allocations: 1.044 MB / 458 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.4449, allocations: 197.6 kB / 458.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.4491, allocations: 2.521 MB / 460.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4491, allocations: 12 kB / 460.8 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4491, allocations: 8 kB / 460.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4491, allocations: 7.969 kB / 460.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008445/0.4576, allocations: 5.551 MB / 466.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4576, allocations: 3.938 kB / 466.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4586, allocations: 223.9 kB / 466.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.4599, allocations: 495.9 kB / 467 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.46, allocations: 35.98 kB / 467.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009936/0.4699, allocations: 10.5 MB / 477.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.47, allocations: 7.969 kB / 477.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/0.4755, allocations: 3.58 MB / 481.1 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008947/0.4764, allocations: 458.6 kB / 481.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.4766, allocations: 35.94 kB / 481.6 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009197/0.4776, allocations: 75.94 kB / 481.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.4778, allocations: 109.1 kB / 481.8 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.4779, allocations: 39.98 kB / 481.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001949/0.4799, allocations: 1.286 MB / 483.1 MB, free: 10.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4799, allocations: 0 / 483.1 MB, free: 10.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002026/0.4819, allocations: 0.5859 MB / 483.7 MB, free: 9.703 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003299/0.4822, allocations: 163.1 kB / 483.9 MB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003971/0.4862, allocations: 2.407 MB / 486.3 MB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4862, allocations: 0 / 486.3 MB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002616/0.4889, allocations: 1.743 MB / 488 MB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.4915, allocations: 0.4898 MB / 488.5 MB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5022, allocations: 7.455 MB / 496 MB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.5043, allocations: 2.366 MB / 498.3 MB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001495/0.5058, allocations: 420.8 kB / 498.8 MB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.5061, allocations: 127.4 kB / 498.9 MB, free: 10.37 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5061, allocations: 3.938 kB / 498.9 MB, free: 10.37 MB / 414.1 MB Notification: Performance of Templates: time 0.04935/0.5555, allocations: 29.37 MB / 0.5159 GB, free: 13.3 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches