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_Characteristics.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.001516/0.001516, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001811/0.001811, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.445/1.445, allocations: 207.6 MB / 235.2 MB, free: 10.02 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics")
translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [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.001925/0.001925, allocations: 55.86 kB / 347.7 MB, free: 9.531 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3233, allocations: 49.16 MB / 396.8 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02729/0.3506, allocations: 25.05 MB / 421.9 MB, free: 7.246 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02129/0.3719, allocations: 7.389 MB / 429.3 MB, free: 1.16 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.009397/0.3813, allocations: 186.1 kB / 429.5 MB, free: 1.102 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02584/0.4071, allocations: 8.926 MB / 438.4 MB, free: 9.742 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01613/0.4233, allocations: 3.113 MB / 441.5 MB, free: 6.613 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.007175/0.4304, allocations: 1.778 MB / 443.3 MB, free: 4.832 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.02105/0.4515, allocations: 11 MB / 454.3 MB, free: 9.793 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02912/0.4806, allocations: 13.49 MB / 467.8 MB, free: 12.16 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01214/0.4928, allocations: 5.946 MB / 473.7 MB, free: 6.203 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0161/0.5089, allocations: 6.425 MB / 480.1 MB, free: 15.76 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.006067/0.5149, allocations: 1.68 MB / 481.8 MB, free: 14.08 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.008705/0.5236, allocations: 2.062 MB / 483.9 MB, free: 12.02 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.007646/0.5313, allocations: 3.227 MB / 487.1 MB, free: 8.781 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01786/0.5491, allocations: 6.176 MB / 493.3 MB, free: 2.582 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.04399/0.5931, allocations: 22.42 MB / 0.5036 GB, free: 12.09 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.5931, allocations: 4 kB / 0.5036 GB, free: 12.09 MB / 430.1 MB
Notification: Performance of FrontEnd: time 2.054e-06/0.5931, allocations: 0 / 0.5036 GB, free: 12.09 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0009453/0.5941, allocations: 4 kB / 0.5036 GB, free: 12.09 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: 2677
 * Number of variables: 2677
Notification: Performance of Generate backend data structure: time 0.05514/0.6492, allocations: 13.05 MB / 0.5164 GB, free: 14.95 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.6493, allocations: 15.92 kB / 0.5164 GB, free: 14.93 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04246/0.6917, allocations: 7.235 MB / 0.5235 GB, free: 7.68 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01893/0.7107, allocations: 6.239 MB / 0.5295 GB, free: 1.375 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001302/0.712, allocations: 0.7105 MB / 0.5302 GB, free: 0.6641 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.006153/0.7181, allocations: 0.9375 MB / 0.5312 GB, free: 15.72 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.05635/0.7745, allocations: 16.21 MB / 0.547 GB, free: 15.45 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000608/0.7751, allocations: 7.953 kB / 0.547 GB, free: 15.45 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004812/0.7799, allocations: 396 kB / 0.5474 GB, free: 15.06 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009164/0.7808, allocations: 0.5864 MB / 0.5479 GB, free: 14.47 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5313/1.312, allocations: 15.46 MB / 0.563 GB, free: 129.4 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09706/1.409, allocations: 50.83 MB / 0.6127 GB, free: 97.82 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.428, allocations: 11.09 MB / 0.6235 GB, free: 92.2 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/1.432, allocations: 3.082 MB / 0.6265 GB, free: 89.11 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01802/1.45, allocations: 9.815 MB / 0.6361 GB, free: 79.5 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.694e-05/1.45, allocations: 68.83 kB / 0.6362 GB, free: 79.42 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=297): time 5.671e-06/1.45, allocations: 0 / 0.6362 GB, free: 79.42 MB / 478.1 MB
Notification: Performance of matching and sorting (n=303): time 0.03338/1.484, allocations: 15.28 MB / 0.6511 GB, free: 64.43 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/1.484, allocations: 81.78 kB / 0.6512 GB, free: 64.34 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007479/1.491, allocations: 3.863 MB / 0.6549 GB, free: 60.54 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004941/1.492, allocations: 81.64 kB / 0.655 GB, free: 60.45 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002341/1.494, allocations: 4.413 MB / 0.6593 GB, free: 56.05 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.495, allocations: 1.11 MB / 0.6604 GB, free: 54.96 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002557/1.498, allocations: 1.096 MB / 0.6615 GB, free: 53.86 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 6.379e-05/1.498, allocations: 305.1 kB / 0.6618 GB, free: 53.55 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/1.502, allocations: 2.548 MB / 0.6643 GB, free: 51 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004901/1.507, allocations: 4.917 MB / 0.6691 GB, free: 44.96 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008794/1.515, allocations: 7.945 MB / 0.6768 GB, free: 35.87 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.969e-05/1.516, allocations: 24 kB / 0.6769 GB, free: 35.85 MB / 478.1 MB
Notification: Performance of matching and sorting (n=696) (initialization): time 0.01599/1.532, allocations: 8.623 MB / 0.6853 GB, free: 27.18 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/1.532, allocations: 40 kB / 0.6853 GB, free: 27.14 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/1.532, allocations: 80.53 kB / 0.6854 GB, free: 27.07 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/1.535, allocations: 1.248 MB / 0.6866 GB, free: 25.81 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/1.539, allocations: 1.224 MB / 0.6878 GB, free: 24.59 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/1.553, allocations: 9.851 MB / 0.6974 GB, free: 14.62 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.558, allocations: 331.6 kB / 0.6977 GB, free: 14.3 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/1.559, allocations: 284 kB / 0.698 GB, free: 14.02 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 361
 * 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 (638):
 * Single equations (assignments): 636
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(14,44,41.3%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.007661/1.567, allocations: 3.736 MB / 0.7017 GB, free: 10.27 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.568, allocations: 397.4 kB / 0.702 GB, free: 9.879 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.579, allocations: 5.768 MB / 0.7077 GB, free: 4.062 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007705/1.587, allocations: 4.732 MB / 0.7123 GB, free: 15.29 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.438e-05/1.587, allocations: 12 kB / 0.7123 GB, free: 15.27 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-05/1.587, allocations: 15.94 kB / 0.7123 GB, free: 15.26 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03384/1.621, allocations: 13.7 MB / 0.7257 GB, free: 1.426 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.621, allocations: 7.938 kB / 0.7257 GB, free: 1.418 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.624, allocations: 0.5539 MB / 0.7262 GB, free: 0.8633 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/1.627, allocations: 1.116 MB / 0.7273 GB, free: 15.75 MB / 0.4982 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006347/1.628, allocations: 71.97 kB / 0.7274 GB, free: 15.68 MB / 0.4982 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/1.643, allocations: 8.75 MB / 0.736 GB, free: 6.805 MB / 0.4982 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.643, allocations: 4 kB / 0.736 GB, free: 6.801 MB / 0.4982 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.658, allocations: 8.49 MB / 0.7442 GB, free: 14.18 MB / 0.5138 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002525/1.66, allocations: 0.8252 MB / 0.7451 GB, free: 13.35 MB / 0.5138 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/1.661, allocations: 60 kB / 0.7451 GB, free: 13.29 MB / 0.5138 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.662, allocations: 187.8 kB / 0.7453 GB, free: 13.11 MB / 0.5138 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006301/1.663, allocations: 234.4 kB / 0.7455 GB, free: 12.88 MB / 0.5138 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.663, allocations: 91.98 kB / 0.7456 GB, free: 12.79 MB / 0.5138 GB
Notification: Performance of sorting global known variables: time 0.004488/1.668, allocations: 2.588 MB / 0.7481 GB, free: 10.21 MB / 0.5138 GB
Notification: Performance of sort global known variables: time 1.3e-07/1.668, allocations: 4 kB / 0.7481 GB, free: 10.21 MB / 0.5138 GB
Notification: Performance of remove unused functions: time 0.007047/1.675, allocations: 1.547 MB / 0.7496 GB, free: 8.664 MB / 0.5138 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi)
 * 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 (282):
 * Single equations (assignments): 280
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(14,44,41.3%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0007615/1.676, allocations: 242.5 kB / 0.7499 GB, free: 8.422 MB / 0.5138 GB
Notification: Performance of simCode: created initialization part: time 0.01297/1.689, allocations: 6.272 MB / 0.756 GB, free: 2.125 MB / 0.5138 GB
Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.689, allocations: 0 / 0.756 GB, free: 2.125 MB / 0.5138 GB
Notification: Performance of simCode: created simulation system equations: time 0.2417/1.93, allocations: 2.756 MB / 0.7587 GB, free: 169.3 MB / 0.5138 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/1.935, allocations: 0.9404 MB / 0.7596 GB, free: 169.2 MB / 0.5138 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/1.97, allocations: 16.49 MB / 0.7757 GB, free: 163.7 MB / 0.5138 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007367/1.977, allocations: 6.228 MB / 0.7818 GB, free: 161.4 MB / 0.5138 GB
Notification: Performance of simCode: alias equations: time 0.004861/1.982, allocations: 1.88 MB / 0.7836 GB, free: 161.2 MB / 0.5138 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000795/1.983, allocations: 306.9 kB / 0.7839 GB, free: 161.2 MB / 0.5138 GB
Notification: Performance of SimCode: time 1.493e-06/1.983, allocations: 0 / 0.7839 GB, free: 161.2 MB / 0.5138 GB
Notification: Performance of Templates: time 0.0999/2.083, allocations: 65.86 MB / 0.8482 GB, free: 103.6 MB / 0.5138 GB
"
[Timeout remaining time 658]
make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 8.117310940288007]