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.0017/0.0017, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002181/0.002181, allocations: 204.7 kB / 24.48 MB, free: 3.969 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.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 0.001556/0.001556, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2122, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02663/0.2388, allocations: 21.47 MB / 453.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.2533, allocations: 7.751 MB / 461.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.2559, allocations: 214.9 kB / 461.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01947/0.2754, allocations: 7.823 MB / 469.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.2882, allocations: 3.097 MB / 472.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.2945, allocations: 1.818 MB / 474.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0191/0.3136, allocations: 11.36 MB / 485.9 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02874/0.3424, allocations: 14.67 MB / 0.4889 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007872/0.3502, allocations: 6.075 MB / 0.4948 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008813/0.359, allocations: 6.561 MB / 0.5012 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002567/0.3616, allocations: 1.715 MB / 0.5029 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.3655, allocations: 2.152 MB / 0.505 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003031/0.3685, allocations: 3.406 MB / 0.5083 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005752/0.3742, allocations: 4.911 MB / 0.5131 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02381/0.3981, allocations: 23.29 MB / 0.5359 GB, free: 1.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3981, allocations: 0 / 0.5359 GB, free: 1.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3981, allocations: 0 / 0.5359 GB, free: 1.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003729/0.3984, allocations: 0 / 0.5359 GB, free: 1.93 MB / 446.1 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.4173/0.8158, allocations: 13.56 MB / 0.5491 GB, free: 88.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.8158, allocations: 8.031 kB / 0.5491 GB, free: 88.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03332/0.8491, allocations: 6.258 MB / 0.5552 GB, free: 82.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.8622, allocations: 7.365 MB / 0.5624 GB, free: 75.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.8626, allocations: 0.7216 MB / 0.5631 GB, free: 74.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/0.8647, allocations: 0.9449 MB / 0.564 GB, free: 73.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/0.887, allocations: 16.31 MB / 0.58 GB, free: 57.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.8872, allocations: 11.91 kB / 0.58 GB, free: 57.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.8882, allocations: 402.8 kB / 0.5804 GB, free: 56.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.8886, allocations: 0.563 MB / 0.5809 GB, free: 56.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/0.9078, allocations: 15.07 MB / 0.5956 GB, free: 40.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06355/0.9714, allocations: 45.4 MB / 0.64 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/0.9876, allocations: 8.542 MB / 0.6483 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005505/0.9931, allocations: 3.309 MB / 0.6515 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/0.9935, allocations: 119.4 kB / 0.6517 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.745e-05/0.9936, allocations: 78.06 kB / 0.6517 GB, free: 15.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 8.125e-06/0.9936, allocations: 0 / 0.6517 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05152/1.045, allocations: 20.36 MB / 0.6716 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/1.045, allocations: 98.95 kB / 0.6717 GB, free: 11.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/1.051, allocations: 4.416 MB / 0.676 GB, free: 6.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002913/1.052, allocations: 97.7 kB / 0.6761 GB, free: 6.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003298/1.055, allocations: 4.34 MB / 0.6803 GB, free: 2.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001462/1.056, allocations: 1.611 MB / 0.6819 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/1.058, allocations: 1.208 MB / 0.6831 GB, free: 15.29 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.059, allocations: 305.1 kB / 0.6834 GB, free: 14.99 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004922/1.063, allocations: 3.065 MB / 0.6864 GB, free: 11.92 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006892/1.07, allocations: 5.239 MB / 0.6915 GB, free: 5.699 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/1.083, allocations: 8.872 MB / 0.7002 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.471e-05/1.083, allocations: 20 kB / 0.7002 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01758/1.101, allocations: 9.822 MB / 0.7098 GB, free: 1.992 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.799e-05/1.101, allocations: 36 kB / 0.7098 GB, free: 1.957 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.113e-05/1.101, allocations: 68 kB / 0.7099 GB, free: 1.891 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003916/1.105, allocations: 1.367 MB / 0.7112 GB, free: 0.5195 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/1.11, allocations: 1.396 MB / 0.7126 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/1.129, allocations: 12.04 MB / 0.7243 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/1.132, allocations: 359.5 kB / 0.7247 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005266/1.133, allocations: 295.9 kB / 0.725 GB, free: 2.215 MB / 0.5294 GB 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.006017/1.139, allocations: 3.888 MB / 0.7288 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009288/1.14, allocations: 465 kB / 0.7292 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.155, allocations: 8.419 MB / 0.7374 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.76e-05/1.155, allocations: 23.91 kB / 0.7374 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.155, allocations: 0 / 0.7374 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/1.158, allocations: 1.039 MB / 0.7385 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/1.158, allocations: 79.94 kB / 0.7385 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.16, allocations: 223.7 kB / 0.7387 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006427/1.161, allocations: 359 kB / 0.7391 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2062/1.367, allocations: 7.071 MB / 0.746 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01163/1.379, allocations: 9.171 MB / 0.7549 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002851/1.382, allocations: 2.64 MB / 0.7575 GB, free: 174.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003448/1.385, allocations: 2.95 MB / 0.7604 GB, free: 173.2 MB / 0.545 GB Notification: Performance of Backend: time 4.81e-07/1.385, allocations: 0 / 0.7604 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.396, allocations: 5.983 MB / 0.7663 GB, free: 170.9 MB / 0.545 GB Notification: Performance of SimCode: time 0.02117/1.417, allocations: 17.09 MB / 0.7829 GB, free: 157.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1179/1.535, allocations: 98.83 MB / 0.8795 GB, free: 62.12 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 9.46644569199998]