Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001338/0.001338, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001547/0.001547, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9176/0.9176, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.965e-05, allocations: 2.312 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1306/0.1306, allocations: 24.46 MB / 297.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1434, allocations: 7.971 MB / 305.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003859/0.1473, allocations: 218.8 kB / 305.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009892/0.1572, allocations: 8.973 MB / 314.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007462/0.1646, allocations: 3.167 MB / 317.8 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.1679, allocations: 1.846 MB / 319.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.1784, allocations: 11.71 MB / 331.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01881/0.1972, allocations: 14.53 MB / 345.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.2083, allocations: 9.045 MB / 355 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007999/0.2163, allocations: 6.391 MB / 361.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003323/0.2196, allocations: 1.711 MB / 363.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004856/0.2245, allocations: 2.155 MB / 365.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003924/0.2284, allocations: 3.515 MB / 368.7 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007541/0.2359, allocations: 4.273 MB / 373 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.2492, allocations: 10.87 MB / 383.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.2492, allocations: 4 kB / 383.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2492, allocations: 0 / 383.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003951/0.2496, allocations: 0 / 383.9 MB, free: 3.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02233/0.2719, allocations: 14.38 MB / 398.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.272, allocations: 8.031 kB / 398.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/0.2917, allocations: 7.844 MB / 406.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009379/0.3011, allocations: 6.995 MB / 413.1 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004896/0.3016, allocations: 0.7224 MB / 413.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.3035, allocations: 0.953 MB / 414.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.3211, allocations: 8.484 MB / 423.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.3213, allocations: 15.89 kB / 423.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007983/0.3221, allocations: 400 kB / 423.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003832/0.3225, allocations: 0.5668 MB / 424.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.3338, allocations: 4.704 MB / 428.9 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2773/0.6111, allocations: 41.76 MB / 470.7 MB, free: 71.35 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/0.6183, allocations: 6.692 MB / 477.4 MB, free: 69.89 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.6203, allocations: 1.554 MB / 479 MB, free: 69.57 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.6205, allocations: 145.3 kB / 479.1 MB, free: 69.55 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.6206, allocations: 88.53 kB / 479.2 MB, free: 69.47 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 5.811e-06/0.6206, allocations: 0 / 479.2 MB, free: 69.47 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02289/0.6435, allocations: 12.71 MB / 491.9 MB, free: 58.5 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.6435, allocations: 98.95 kB / 492 MB, free: 58.39 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.6467, allocations: 3.829 MB / 495.8 MB, free: 54.67 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.6469, allocations: 97.7 kB / 495.9 MB, free: 54.57 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.6484, allocations: 4.615 MB / 0.4888 GB, free: 50.61 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000723/0.6492, allocations: 1.642 MB / 0.4904 GB, free: 49.11 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.6503, allocations: 1.336 MB / 0.4917 GB, free: 47.76 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.6503, allocations: 480.8 kB / 0.4922 GB, free: 47.29 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.6517, allocations: 0.9679 MB / 0.4931 GB, free: 46.32 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.6539, allocations: 4.205 MB / 0.4972 GB, free: 40.8 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/0.658, allocations: 5.766 MB / 0.5028 GB, free: 34 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/0.658, allocations: 20 kB / 0.5029 GB, free: 33.98 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.007349/0.6654, allocations: 5.734 MB / 0.5085 GB, free: 28.71 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.6654, allocations: 36 kB / 0.5085 GB, free: 28.67 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.988e-05/0.6655, allocations: 71.83 kB / 0.5086 GB, free: 28.61 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.6679, allocations: 1.27 MB / 0.5098 GB, free: 27.33 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.6703, allocations: 1.382 MB / 0.5111 GB, free: 26.04 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.6774, allocations: 8.768 MB / 0.5197 GB, free: 17.1 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.6797, allocations: 351.6 kB / 0.52 GB, free: 16.75 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.68, allocations: 296 kB / 0.5203 GB, free: 16.46 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001926/0.6819, allocations: 0.558 MB / 0.5209 GB, free: 15.99 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007138/0.6826, allocations: 0.5986 MB / 0.5215 GB, free: 15.39 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006039/0.6887, allocations: 5.443 MB / 0.5268 GB, free: 9.922 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00397/0.6926, allocations: 2.983 MB / 0.5297 GB, free: 6.961 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6926, allocations: 12 kB / 0.5297 GB, free: 6.949 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.6927, allocations: 27.89 kB / 0.5297 GB, free: 6.922 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.7083, allocations: 12.04 MB / 0.5415 GB, free: 10.91 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7083, allocations: 8 kB / 0.5415 GB, free: 10.91 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/0.7101, allocations: 0.8043 MB / 0.5423 GB, free: 10.14 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/0.7125, allocations: 1.153 MB / 0.5434 GB, free: 8.98 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/0.7128, allocations: 112 kB / 0.5435 GB, free: 8.871 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007921/0.7207, allocations: 8.268 MB / 0.5516 GB, free: 420 kB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.7207, allocations: 15.47 kB / 0.5516 GB, free: 408 kB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008081/0.7288, allocations: 5.374 MB / 0.5569 GB, free: 10.89 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.7304, allocations: 0.9465 MB / 0.5578 GB, free: 9.938 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/0.7308, allocations: 91.94 kB / 0.5579 GB, free: 9.848 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.7319, allocations: 223.8 kB / 0.5581 GB, free: 9.629 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005187/0.7324, allocations: 346.1 kB / 0.5584 GB, free: 9.297 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.7327, allocations: 148 kB / 0.5585 GB, free: 9.152 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002277/0.7349, allocations: 1.822 MB / 0.5603 GB, free: 7.352 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7349, allocations: 0 / 0.5603 GB, free: 7.352 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004421/0.7394, allocations: 1.715 MB / 0.562 GB, free: 5.641 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.7405, allocations: 0.525 MB / 0.5625 GB, free: 5.309 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007043/0.7476, allocations: 4.649 MB / 0.5671 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.7476, allocations: 7.188 kB / 0.5671 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003377/0.751, allocations: 2.541 MB / 0.5695 GB, free: 14.35 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.754, allocations: 0.981 MB / 0.5705 GB, free: 13.4 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1427/0.8967, allocations: 15.02 MB / 0.5852 GB, free: 123.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/0.9005, allocations: 2.749 MB / 0.5879 GB, free: 123.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003859/0.9043, allocations: 1.743 MB / 0.5896 GB, free: 123 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009693/0.9053, allocations: 382.2 kB / 0.5899 GB, free: 123 MB / 426.8 MB Notification: Performance of SimCode: time 2.665e-06/0.9053, allocations: 4.844 kB / 0.5899 GB, free: 123 MB / 426.8 MB Notification: Performance of Templates: time 0.07931/0.9846, allocations: 68.61 MB / 0.6569 GB, free: 73.54 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.975608787033707]