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_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|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.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|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.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 47.92 kB / 368.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2421, allocations: 52.15 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01801/0.2602, allocations: 13.75 MB / 434.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.2704, allocations: 5.004 MB / 439.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.2725, allocations: 79.75 kB / 439.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.2757, allocations: 1.075 MB / 440.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.2804, allocations: 1.46 MB / 442.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.283, allocations: 0.9769 MB / 443.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006022/0.289, allocations: 4.301 MB / 447.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.2919, allocations: 1.861 MB / 449.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.2949, allocations: 2.021 MB / 451.4 MB, free: 388 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003644/0.2985, allocations: 2.3 MB / 453.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009427/0.2995, allocations: 0.5352 MB / 454.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.3015, allocations: 0.9368 MB / 455.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.3029, allocations: 1.391 MB / 456.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003233/0.3062, allocations: 2.349 MB / 459 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.3153, allocations: 7.381 MB / 466.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3153, allocations: 0 / 466.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3153, allocations: 0 / 466.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001657/0.3155, allocations: 0 / 466.3 MB, free: 1.438 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01542/0.3309, allocations: 5.095 MB / 471.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.331, allocations: 12.03 kB / 471.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/0.3357, allocations: 0.896 MB / 472.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005577/0.3412, allocations: 2.794 MB / 475.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.3415, allocations: 250.7 kB / 475.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007733/0.3422, allocations: 343.9 kB / 475.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009179/0.3514, allocations: 4.543 MB / 480.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.037e-05/0.3515, allocations: 11.92 kB / 480.3 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/0.3519, allocations: 140 kB / 480.4 MB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/0.352, allocations: 150.7 kB / 480.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007718/0.3597, allocations: 3.907 MB / 484.5 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/0.3872, allocations: 14.04 MB / 498.5 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008635/0.3958, allocations: 6.824 MB / 0.4935 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003516/0.3993, allocations: 1.579 MB / 0.495 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008056/0.4074, allocations: 4.25 MB / 0.4992 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.4074, allocations: 47.88 kB / 0.4992 GB, free: 3.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 5.962e-06/0.4074, allocations: 3.984 kB / 0.4992 GB, free: 3.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01741/0.4248, allocations: 7.807 MB / 0.5068 GB, free: 11.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.4249, allocations: 69.41 kB / 0.5069 GB, free: 11.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/0.4288, allocations: 2.624 MB / 0.5095 GB, free: 8.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.429, allocations: 57.7 kB / 0.5095 GB, free: 8.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.4303, allocations: 1.654 MB / 0.5111 GB, free: 6.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006331/0.431, allocations: 0.6545 MB / 0.5118 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005878/0.4315, allocations: 331.5 kB / 0.5121 GB, free: 5.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4317, allocations: 301.1 kB / 0.5124 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.4334, allocations: 0.9097 MB / 0.5133 GB, free: 4.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.4354, allocations: 1.31 MB / 0.5146 GB, free: 3.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/0.4392, allocations: 2.351 MB / 0.5168 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.4392, allocations: 7.938 kB / 0.5169 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005966/0.4451, allocations: 3.058 MB / 0.5198 GB, free: 13.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4452, allocations: 12 kB / 0.5199 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.4452, allocations: 8.25 kB / 0.5199 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.4468, allocations: 0.5555 MB / 0.5204 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.4486, allocations: 431.3 kB / 0.5208 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.4594, allocations: 7.611 MB / 0.5283 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.4614, allocations: 79.94 kB / 0.5283 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.4616, allocations: 75.98 kB / 0.5284 GB, free: 4.477 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002783/0.4644, allocations: 1.169 MB / 0.5295 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007584/0.4652, allocations: 262.3 kB / 0.5298 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005936/0.4711, allocations: 2.862 MB / 0.5326 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.522e-05/0.4712, allocations: 23.94 kB / 0.5326 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.4712, allocations: 12 kB / 0.5326 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.4712, allocations: 7.969 kB / 0.5326 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2152/0.6864, allocations: 6.307 MB / 0.5388 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6864, allocations: 0 / 0.5388 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.6876, allocations: 277.9 kB / 0.5391 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.689, allocations: 0.6144 MB / 0.5397 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.6891, allocations: 50.97 kB / 0.5397 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008828/0.698, allocations: 11.46 MB / 0.5509 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.698, allocations: 0 / 0.5509 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.7037, allocations: 4.141 MB / 0.5549 GB, free: 93.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008985/0.7046, allocations: 0.5536 MB / 0.5555 GB, free: 93.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.7049, allocations: 43.31 kB / 0.5555 GB, free: 93.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7059, allocations: 85.88 kB / 0.5556 GB, free: 93.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.7062, allocations: 138.2 kB / 0.5557 GB, free: 93.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7063, allocations: 53.05 kB / 0.5558 GB, free: 93.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.7083, allocations: 1.852 MB / 0.5576 GB, free: 92.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7083, allocations: 0 / 0.5576 GB, free: 92.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001766/0.71, allocations: 0.6905 MB / 0.5583 GB, free: 91.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (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,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.7114, allocations: 457.6 kB / 0.5587 GB, free: 91.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.7153, allocations: 2.731 MB / 0.5614 GB, free: 88.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7153, allocations: 0 / 0.5614 GB, free: 88.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.7176, allocations: 1.835 MB / 0.5632 GB, free: 86.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.7199, allocations: 0.5805 MB / 0.5637 GB, free: 86.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.7288, allocations: 7.193 MB / 0.5708 GB, free: 79.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.7303, allocations: 2.616 MB / 0.5733 GB, free: 76.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001374/0.7317, allocations: 0.5045 MB / 0.5738 GB, free: 75.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.7321, allocations: 171.4 kB / 0.574 GB, free: 75.72 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.7321, allocations: 0 / 0.574 GB, free: 75.72 MB / 446.1 MB Notification: Performance of Templates: time 0.05187/0.784, allocations: 36.8 MB / 0.6099 GB, free: 39.32 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.482145454734564]