Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002333/0.002333, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.3 MB / 258 MB, free: 8.262 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.89 kB / 378.8 MB, free: 2.84 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2275, allocations: 53.36 MB / 432.2 MB, free: 7.105 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02954/0.257, allocations: 25.06 MB / 457.2 MB, free: 13.93 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01547/0.2725, allocations: 8.11 MB / 465.4 MB, free: 5.789 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.2759, allocations: 218.9 kB / 465.6 MB, free: 5.574 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01966/0.2956, allocations: 8.489 MB / 474.1 MB, free: 13.06 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0102/0.3058, allocations: 3.158 MB / 477.2 MB, free: 9.895 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.3114, allocations: 1.872 MB / 479.1 MB, free: 8.031 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01612/0.3275, allocations: 11.37 MB / 490.4 MB, free: 12.64 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02615/0.3537, allocations: 13.89 MB / 0.4925 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.3641, allocations: 6.071 MB / 0.4984 GB, free: 8.504 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.3758, allocations: 6.569 MB / 0.5049 GB, free: 1.914 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.004915/0.3807, allocations: 1.715 MB / 0.5065 GB, free: 204 kB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.006459/0.3871, allocations: 2.16 MB / 0.5086 GB, free: 14.04 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.005039/0.3922, allocations: 3.41 MB / 0.512 GB, free: 10.62 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01066/0.4029, allocations: 6.362 MB / 0.5182 GB, free: 4.234 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.4647/0.8675, allocations: 23.19 MB / 0.5408 GB, free: 40.28 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.8675, allocations: 0.5312 kB / 0.5408 GB, free: 40.28 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.304e-06/0.8675, allocations: 2.516 kB / 0.5408 GB, free: 40.28 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0007045/0.8682, allocations: 0.5312 kB / 0.5408 GB, free: 40.28 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.0674/0.9356, allocations: 13.58 MB / 0.5541 GB, free: 36.64 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.9357, allocations: 9.5 kB / 0.5541 GB, free: 36.64 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07443/1.01, allocations: 6.253 MB / 0.5602 GB, free: 36.02 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02464/1.035, allocations: 7.354 MB / 0.5674 GB, free: 34.67 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009336/1.036, allocations: 0.7219 MB / 0.5681 GB, free: 34.49 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.006205/1.042, allocations: 0.9477 MB / 0.569 GB, free: 34.17 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.04049/1.082, allocations: 16.17 MB / 0.5848 GB, free: 21.42 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003028/1.083, allocations: 15.7 kB / 0.5848 GB, free: 21.41 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00344/1.086, allocations: 402.8 kB / 0.5852 GB, free: 21.03 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004634/1.087, allocations: 0.5591 MB / 0.5858 GB, free: 20.46 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02761/1.114, allocations: 15.14 MB / 0.6005 GB, free: 5.305 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/1.216, allocations: 51.43 MB / 0.6508 GB, free: 1.812 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.235, allocations: 8.627 MB / 0.6592 GB, free: 9.988 MB / 0.4982 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00631/1.241, allocations: 3.324 MB / 0.6624 GB, free: 6.656 MB / 0.4982 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/1.242, allocations: 136.4 kB / 0.6626 GB, free: 6.551 MB / 0.4982 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.894e-05/1.242, allocations: 82.05 kB / 0.6626 GB, free: 6.461 MB / 0.4982 GB
Notification: Performance of pre-optimization done (n=447): time 6.812e-06/1.242, allocations: 0 / 0.6626 GB, free: 6.461 MB / 0.4982 GB
Notification: Performance of matching and sorting (n=452): time 0.05903/1.301, allocations: 20.55 MB / 0.6827 GB, free: 1.957 MB / 0.5138 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/1.301, allocations: 101.1 kB / 0.6828 GB, free: 1.848 MB / 0.5138 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008496/1.309, allocations: 4.51 MB / 0.6872 GB, free: 13.32 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 0.0007512/1.31, allocations: 105.6 kB / 0.6873 GB, free: 13.21 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003568/1.314, allocations: 4.333 MB / 0.6915 GB, free: 8.863 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002243/1.316, allocations: 1.61 MB / 0.6931 GB, free: 7.273 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002216/1.318, allocations: 1.212 MB / 0.6943 GB, free: 6.051 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001503/1.318, allocations: 308.6 kB / 0.6946 GB, free: 5.75 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005804/1.324, allocations: 3.073 MB / 0.6976 GB, free: 2.672 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.008137/1.332, allocations: 5.211 MB / 0.7027 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/1.347, allocations: 8.895 MB / 0.7114 GB, free: 2.941 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.721e-05/1.347, allocations: 20 kB / 0.7114 GB, free: 2.922 MB / 0.545 GB
Notification: Performance of matching and sorting (n=794) (initialization): time 0.0236/1.371, allocations: 9.865 MB / 0.721 GB, free: 9.488 MB / 0.5607 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.371, allocations: 32 kB / 0.7211 GB, free: 9.457 MB / 0.5607 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/1.371, allocations: 68 kB / 0.7211 GB, free: 9.391 MB / 0.5607 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004708/1.376, allocations: 1.412 MB / 0.7225 GB, free: 7.98 MB / 0.5607 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006142/1.382, allocations: 1.39 MB / 0.7239 GB, free: 6.684 MB / 0.5607 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/1.404, allocations: 12.48 MB / 0.736 GB, free: 10.05 MB / 0.5763 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005387/1.41, allocations: 359.5 kB / 0.7364 GB, free: 9.703 MB / 0.5763 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/1.411, allocations: 300 kB / 0.7367 GB, free: 9.41 MB / 0.5763 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.008983/1.42, allocations: 3.877 MB / 0.7405 GB, free: 5.613 MB / 0.5763 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/1.422, allocations: 484.9 kB / 0.7409 GB, free: 5.137 MB / 0.5763 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01919/1.441, allocations: 8.481 MB / 0.7492 GB, free: 12.64 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01404/1.455, allocations: 6.228 MB / 0.7553 GB, free: 6.438 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-05/1.455, allocations: 15.94 kB / 0.7553 GB, free: 6.422 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.729e-05/1.455, allocations: 19.92 kB / 0.7553 GB, free: 6.402 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2651/1.72, allocations: 17.44 MB / 0.7724 GB, free: 223.2 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.72, allocations: 7.75 kB / 0.7724 GB, free: 223.2 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/1.723, allocations: 0.8069 MB / 0.7731 GB, free: 223.1 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/1.727, allocations: 1.292 MB / 0.7744 GB, free: 222.8 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004226/1.727, allocations: 111.1 kB / 0.7745 GB, free: 222.8 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/1.74, allocations: 11.37 MB / 0.7856 GB, free: 216.1 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.74, allocations: 10.44 kB / 0.7856 GB, free: 216.1 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.755, allocations: 11.21 MB / 0.7966 GB, free: 211.4 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002891/1.758, allocations: 1.062 MB / 0.7976 GB, free: 211.1 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007635/1.759, allocations: 101.5 kB / 0.7977 GB, free: 211 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.761, allocations: 231.7 kB / 0.7979 GB, free: 211 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006592/1.762, allocations: 344.1 kB / 0.7983 GB, free: 210.9 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/1.762, allocations: 140.5 kB / 0.7984 GB, free: 210.9 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.003744/1.766, allocations: 3.122 MB / 0.8014 GB, free: 208.7 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 9e-08/1.766, allocations: 0 / 0.8014 GB, free: 208.7 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.005784/1.772, allocations: 1.724 MB / 0.8031 GB, free: 207 MB / 0.5919 GB
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.001805/1.774, allocations: 0.5385 MB / 0.8037 GB, free: 206.6 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.01109/1.785, allocations: 7.68 MB / 0.8112 GB, free: 200 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.785, allocations: 0 / 0.8112 GB, free: 200 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.008309/1.793, allocations: 3.696 MB / 0.8148 GB, free: 196.8 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/1.799, allocations: 1.054 MB / 0.8158 GB, free: 195.9 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.825, allocations: 18.35 MB / 0.8337 GB, free: 177.7 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005176/1.83, allocations: 6.511 MB / 0.8401 GB, free: 171.2 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.004783/1.835, allocations: 2.119 MB / 0.8421 GB, free: 169 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.836, allocations: 399.3 kB / 0.8425 GB, free: 168.7 MB / 0.5919 GB
Notification: Performance of SimCode: time 8.22e-07/1.836, allocations: 0 / 0.8425 GB, free: 168.7 MB / 0.5919 GB
Notification: Performance of Templates: time 0.1067/1.942, allocations: 78.38 MB / 0.9191 GB, free: 90.84 MB / 0.5919 GB
"
[Timeout remaining time 658]
make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.543923853896558]