Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.002216/0.002216, allocations: 106 kB / 21.18 MB, free: 0.707 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.002448/0.002448, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 207.6 MB / 235.2 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.003208/0.003208, allocations: 52.33 kB / 347.7 MB, free: 9.5 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3893, allocations: 49.15 MB / 396.9 MB, free: 9.531 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.04008/0.4293, allocations: 25.13 MB / 422 MB, free: 7.203 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0279/0.4572, allocations: 7.774 MB / 429.8 MB, free: 0.8242 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.008494/0.4657, allocations: 182.5 kB / 429.9 MB, free: 0.7656 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02381/0.4896, allocations: 8.492 MB / 438.4 MB, free: 9.699 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01475/0.5043, allocations: 3.175 MB / 441.6 MB, free: 6.508 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.007387/0.5117, allocations: 1.846 MB / 443.5 MB, free: 4.66 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.02126/0.533, allocations: 11.34 MB / 454.8 MB, free: 9.273 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.03368/0.5666, allocations: 13.92 MB / 468.7 MB, free: 11.2 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01368/0.5803, allocations: 6.141 MB / 474.9 MB, free: 5.039 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01621/0.5965, allocations: 6.627 MB / 481.5 MB, free: 14.39 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.006192/0.6027, allocations: 1.723 MB / 483.2 MB, free: 12.67 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.008661/0.6114, allocations: 2.136 MB / 485.3 MB, free: 10.53 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.007449/0.6188, allocations: 3.476 MB / 488.8 MB, free: 7.047 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01609/0.6349, allocations: 6.44 MB / 495.3 MB, free: 0.582 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.04076/0.6757, allocations: 23.2 MB / 0.5063 GB, free: 9.316 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6757, allocations: 0 / 0.5063 GB, free: 9.316 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.903e-06/0.6757, allocations: 3.938 kB / 0.5063 GB, free: 9.312 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0007234/0.6764, allocations: 4 kB / 0.5063 GB, free: 9.309 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2742
 * Number of variables: 2742
Notification: Performance of Generate backend data structure: time 0.05216/0.7286, allocations: 13.71 MB / 0.5197 GB, free: 11.5 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.7286, allocations: 11.98 kB / 0.5197 GB, free: 11.48 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04237/0.771, allocations: 7.309 MB / 0.5269 GB, free: 4.16 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/0.7887, allocations: 6.575 MB / 0.5333 GB, free: 13.5 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/0.7898, allocations: 0.7344 MB / 0.534 GB, free: 12.76 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.004814/0.7946, allocations: 0.9608 MB / 0.5349 GB, free: 11.8 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.05513/0.8497, allocations: 16.59 MB / 0.5511 GB, free: 11.13 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0005421/0.8503, allocations: 23.84 kB / 0.5512 GB, free: 11.11 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004413/0.8547, allocations: 404 kB / 0.5515 GB, free: 10.71 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008294/0.8555, allocations: 0.5947 MB / 0.5521 GB, free: 10.11 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4731/1.329, allocations: 15.79 MB / 0.5675 GB, free: 128.6 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09778/1.426, allocations: 52.38 MB / 0.6187 GB, free: 94.59 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.442, allocations: 9.408 MB / 0.6279 GB, free: 86.25 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.005091/1.447, allocations: 3.463 MB / 0.6313 GB, free: 82.78 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01868/1.466, allocations: 11.03 MB / 0.642 GB, free: 71.98 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.872e-05/1.466, allocations: 80.58 kB / 0.6421 GB, free: 71.89 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=357): time 6.072e-06/1.466, allocations: 3.938 kB / 0.6421 GB, free: 71.89 MB / 478.1 MB
Notification: Performance of matching and sorting (n=362): time 0.0363/1.502, allocations: 17.38 MB / 0.6591 GB, free: 54.84 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/1.502, allocations: 86.25 kB / 0.6592 GB, free: 54.74 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.513, allocations: 4.774 MB / 0.6638 GB, free: 50 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.001362/1.514, allocations: 85.7 kB / 0.6639 GB, free: 49.91 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.517, allocations: 4.634 MB / 0.6684 GB, free: 45.34 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.00171/1.519, allocations: 1.311 MB / 0.6697 GB, free: 44.05 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.003991/1.523, allocations: 1.187 MB / 0.6709 GB, free: 42.85 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 5.647e-05/1.523, allocations: 301.1 kB / 0.6712 GB, free: 42.55 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/1.528, allocations: 2.901 MB / 0.674 GB, free: 39.64 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006272/1.534, allocations: 5.27 MB / 0.6791 GB, free: 33.27 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/1.545, allocations: 8.636 MB / 0.6876 GB, free: 23.52 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.53e-05/1.545, allocations: 24 kB / 0.6876 GB, free: 23.5 MB / 478.1 MB
Notification: Performance of matching and sorting (n=763) (initialization): time 0.01767/1.562, allocations: 9.602 MB / 0.697 GB, free: 13.87 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/1.562, allocations: 47.92 kB / 0.697 GB, free: 13.82 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/1.563, allocations: 76 kB / 0.6971 GB, free: 13.75 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/1.566, allocations: 1.445 MB / 0.6985 GB, free: 12.3 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/1.571, allocations: 1.33 MB / 0.6998 GB, free: 10.96 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.588, allocations: 12.47 MB / 0.712 GB, free: 14.27 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/1.593, allocations: 367.6 kB / 0.7123 GB, free: 13.91 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.594, allocations: 300 kB / 0.7126 GB, free: 13.62 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 355
 * 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 (689):
 * Single equations (assignments): 686
 * 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.4%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.009638/1.604, allocations: 3.919 MB / 0.7164 GB, free: 9.684 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/1.606, allocations: 472.9 kB / 0.7169 GB, free: 9.219 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/1.624, allocations: 6.741 MB / 0.7235 GB, free: 2.434 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01378/1.637, allocations: 5.541 MB / 0.7289 GB, free: 12.85 MB / 0.4982 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-05/1.637, allocations: 12 kB / 0.7289 GB, free: 12.84 MB / 0.4982 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.366e-05/1.638, allocations: 19.92 kB / 0.7289 GB, free: 12.82 MB / 0.4982 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04044/1.678, allocations: 15.45 MB / 0.744 GB, free: 13.21 MB / 0.5138 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/1.678, allocations: 4 kB / 0.744 GB, free: 13.21 MB / 0.5138 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.682, allocations: 0.667 MB / 0.7447 GB, free: 12.54 MB / 0.5138 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004274/1.686, allocations: 1.305 MB / 0.7459 GB, free: 11.23 MB / 0.5138 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007947/1.687, allocations: 87.97 kB / 0.746 GB, free: 11.14 MB / 0.5138 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2702/1.957, allocations: 11.36 MB / 0.7571 GB, free: 163.6 MB / 0.5138 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.957, allocations: 9.281 kB / 0.7571 GB, free: 163.6 MB / 0.5138 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/1.978, allocations: 9.99 MB / 0.7669 GB, free: 161.6 MB / 0.5138 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.003197/1.981, allocations: 0.9939 MB / 0.7678 GB, free: 161.3 MB / 0.5138 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001983/1.983, allocations: 73.23 kB / 0.7679 GB, free: 161.3 MB / 0.5138 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0044/1.987, allocations: 219.1 kB / 0.7681 GB, free: 161.2 MB / 0.5138 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/1.989, allocations: 289.6 kB / 0.7684 GB, free: 161.2 MB / 0.5138 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007236/1.99, allocations: 111.8 kB / 0.7685 GB, free: 161.2 MB / 0.5138 GB
Notification: Performance of sorting global known variables: time 0.01054/2, allocations: 3.234 MB / 0.7717 GB, free: 160 MB / 0.5138 GB
Notification: Performance of sort global known variables: time 3.3e-07/2, allocations: 0 / 0.7717 GB, free: 160 MB / 0.5138 GB
Notification: Performance of remove unused functions: time 0.01267/2.013, allocations: 1.69 MB / 0.7733 GB, free: 159.8 MB / 0.5138 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 20
 * 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 (333):
 * Single equations (assignments): 330
 * 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.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.002994/2.016, allocations: 0.5144 MB / 0.7738 GB, free: 159.5 MB / 0.5138 GB
Notification: Performance of simCode: created initialization part: time 0.01914/2.035, allocations: 7.221 MB / 0.7809 GB, free: 156.6 MB / 0.5138 GB
Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.035, allocations: 0 / 0.7809 GB, free: 156.6 MB / 0.5138 GB
Notification: Performance of simCode: created simulation system equations: time 0.008481/2.043, allocations: 3.374 MB / 0.7842 GB, free: 155.2 MB / 0.5138 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007746/2.051, allocations: 1.025 MB / 0.7852 GB, free: 154.8 MB / 0.5138 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/2.091, allocations: 18.19 MB / 0.8029 GB, free: 141.9 MB / 0.5138 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008587/2.1, allocations: 6.557 MB / 0.8093 GB, free: 136.8 MB / 0.5138 GB
Notification: Performance of simCode: alias equations: time 0.005385/2.105, allocations: 2.095 MB / 0.8114 GB, free: 135.4 MB / 0.5138 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/2.106, allocations: 357.1 kB / 0.8117 GB, free: 135.1 MB / 0.5138 GB
Notification: Performance of SimCode: time 1.353e-06/2.106, allocations: 0 / 0.8117 GB, free: 135.1 MB / 0.5138 GB
Notification: Performance of Templates: time 0.1156/2.222, allocations: 73.92 MB / 0.8839 GB, free: 62.61 MB / 0.5138 GB
"
[Timeout remaining time 658]
make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.282923511229455]