Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 116 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.92 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.105, allocations: 53.32 MB / 427.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1941/0.299, allocations: 13.57 MB / 441.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008113/0.3071, allocations: 4.55 MB / 445.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/0.31, allocations: 96.66 kB / 445.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.3134, allocations: 1.042 MB / 446.8 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.3187, allocations: 1.309 MB / 448.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.322, allocations: 0.8962 MB / 449 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00718/0.3291, allocations: 4.074 MB / 453 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/0.3339, allocations: 2.257 MB / 455.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.3385, allocations: 1.955 MB / 457.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005282/0.3438, allocations: 2.264 MB / 459.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002015/0.3458, allocations: 0.5089 MB / 460 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.3493, allocations: 0.735 MB / 460.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002512/0.3518, allocations: 1.146 MB / 461.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005571/0.3574, allocations: 2.143 MB / 464 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.3688, allocations: 6.813 MB / 470.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3688, allocations: 0 / 470.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3688, allocations: 1.062 kB / 470.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001986/0.369, allocations: 0 / 470.9 MB, free: 2.484 MB / 366.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.01477/0.3838, allocations: 4.531 MB / 475.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3838, allocations: 8.781 kB / 475.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.389, allocations: 0.8414 MB / 476.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006065/0.3951, allocations: 2.518 MB / 478.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.3954, allocations: 240.6 kB / 479 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/0.3969, allocations: 308 kB / 479.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009795/0.4067, allocations: 4.26 MB / 483.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/0.4068, allocations: 15.88 kB / 483.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.4072, allocations: 124 kB / 483.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/0.4073, allocations: 142.3 kB / 483.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008158/0.4155, allocations: 3.671 MB / 487.5 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/0.4443, allocations: 13.45 MB / 0.4892 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007823/0.4521, allocations: 6.741 MB / 0.4958 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/0.4549, allocations: 1.313 MB / 0.4971 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00807/0.463, allocations: 3.893 MB / 0.5009 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/0.463, allocations: 47.56 kB / 0.5009 GB, free: 9.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 4.388e-06/0.463, allocations: 0 / 0.5009 GB, free: 9.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.0161/0.4791, allocations: 6.682 MB / 0.5074 GB, free: 2.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4792, allocations: 68.72 kB / 0.5075 GB, free: 2.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/0.4829, allocations: 1.88 MB / 0.5094 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.4831, allocations: 57.69 kB / 0.5094 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.4845, allocations: 1.475 MB / 0.5108 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006504/0.4851, allocations: 0.5113 MB / 0.5113 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006329/0.4857, allocations: 311.4 kB / 0.5116 GB, free: 14.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4859, allocations: 309.1 kB / 0.5119 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.4872, allocations: 0.7652 MB / 0.5127 GB, free: 13.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.489, allocations: 1.212 MB / 0.5139 GB, free: 11.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.4922, allocations: 2.115 MB / 0.5159 GB, free: 9.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.4923, allocations: 7.938 kB / 0.5159 GB, free: 9.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005256/0.4975, allocations: 2.656 MB / 0.5185 GB, free: 6.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.4975, allocations: 15.94 kB / 0.5186 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.4976, allocations: 16.69 kB / 0.5186 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.4991, allocations: 0.5058 MB / 0.5191 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.5007, allocations: 383.4 kB / 0.5194 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009772/0.5105, allocations: 6.927 MB / 0.5262 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.5123, allocations: 83.84 kB / 0.5263 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.5126, allocations: 68 kB / 0.5263 GB, free: 14.58 MB / 446.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.002501/0.5151, allocations: 1.054 MB / 0.5274 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007044/0.5158, allocations: 214.8 kB / 0.5276 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/0.521, allocations: 2.484 MB / 0.53 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.521, allocations: 12 kB / 0.53 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/0.5211, allocations: 8 kB / 0.53 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.5211, allocations: 7.969 kB / 0.53 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.5329, allocations: 5.541 MB / 0.5354 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.5329, allocations: 3.984 kB / 0.5354 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.534, allocations: 211.7 kB / 0.5356 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.5355, allocations: 0.5026 MB / 0.5361 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.5357, allocations: 39.98 kB / 0.5362 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.5482, allocations: 11.43 MB / 0.5473 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5482, allocations: 3.984 kB / 0.5473 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006816/0.555, allocations: 3.575 MB / 0.5508 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.5564, allocations: 467.6 kB / 0.5513 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007306/0.5572, allocations: 40 kB / 0.5513 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.5587, allocations: 63.94 kB / 0.5514 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/0.559, allocations: 117 kB / 0.5515 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.5591, allocations: 39.98 kB / 0.5515 GB, free: 3.754 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002733/0.5619, allocations: 1.302 MB / 0.5528 GB, free: 2.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5619, allocations: 0 / 0.5528 GB, free: 2.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00317/0.565, allocations: 0.5898 MB / 0.5534 GB, free: 1.871 MB / 462.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.0004881/0.5655, allocations: 159 kB / 0.5535 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004937/0.5705, allocations: 2.328 MB / 0.5558 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5705, allocations: 0 / 0.5558 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.5735, allocations: 1.665 MB / 0.5574 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/0.5771, allocations: 0.5243 MB / 0.5579 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.5902, allocations: 6.005 MB / 0.5638 GB, free: 7.043 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.593, allocations: 2.332 MB / 0.5661 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/0.5937, allocations: 147.4 kB / 0.5662 GB, free: 4.543 MB / 478.1 MB Notification: Performance of SimCode: time 1.784e-06/0.5937, allocations: 0 / 0.5662 GB, free: 4.543 MB / 478.1 MB Notification: Performance of Templates: time 0.32/0.9137, allocations: 99.06 MB / 0.663 GB, free: 143.1 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.64845208398765]