Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.001389/0.001389, allocations: 109.8 kB / 19.69 MB, free: 2.188 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.001471/0.001471, allocations: 189 kB / 22.98 MB, free: 5.016 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.506/1.506, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.24 MB / 330.2 MB, free: 9.559 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
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(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed")
translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") [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.002257/0.002257, allocations: 77.28 kB / 467.9 MB, free: 4.059 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1552, allocations: 61.03 MB / 0.5166 GB, free: 6.895 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004644/0.1598, allocations: 2.649 MB / 0.5191 GB, free: 4.23 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001371/0.1612, allocations: 0.7059 MB / 0.5198 GB, free: 3.516 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1613, allocations: 7.938 kB / 0.5198 GB, free: 3.508 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1615, allocations: 39.53 kB / 0.5199 GB, free: 3.469 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1617, allocations: 87.19 kB / 0.52 GB, free: 3.383 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1619, allocations: 87.89 kB / 0.52 GB, free: 3.297 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004293/0.1624, allocations: 342.5 kB / 0.5204 GB, free: 2.961 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1625, allocations: 57.94 kB / 0.5204 GB, free: 2.902 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.1628, allocations: 135.5 kB / 0.5206 GB, free: 2.77 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.163, allocations: 131.3 kB / 0.5207 GB, free: 2.641 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.163, allocations: 24 kB / 0.5207 GB, free: 2.617 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.914e-05/0.1631, allocations: 20 kB / 0.5207 GB, free: 2.598 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.1631, allocations: 55.78 kB / 0.5208 GB, free: 2.543 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1633, allocations: 139.3 kB / 0.5209 GB, free: 2.406 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000435/0.1637, allocations: 302.6 kB / 0.5212 GB, free: 2.109 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1637, allocations: 4 kB / 0.5212 GB, free: 2.105 MB / 398.1 MB
Notification: Performance of FrontEnd: time 3.797e-06/0.1637, allocations: 4 kB / 0.5212 GB, free: 2.102 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.594e-06/0.1638, allocations: 0 / 0.5212 GB, free: 2.102 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001064/0.1648, allocations: 0.5129 MB / 0.5217 GB, free: 1.555 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1649, allocations: 12.03 kB / 0.5217 GB, free: 1.543 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.952e-05/0.1649, allocations: 32.75 kB / 0.5217 GB, free: 1.512 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.1654, allocations: 206 kB / 0.5219 GB, free: 1.285 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1654, allocations: 16.88 kB / 0.522 GB, free: 1.27 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.1655, allocations: 40.31 kB / 0.522 GB, free: 1.23 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.1661, allocations: 277.4 kB / 0.5223 GB, free: 0.9375 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1661, allocations: 7.984 kB / 0.5223 GB, free: 0.9297 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.1661, allocations: 8 kB / 0.5223 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.1662, allocations: 8 kB / 0.5223 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.1666, allocations: 191.7 kB / 0.5225 GB, free: 0.7266 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.1686, allocations: 1.246 MB / 0.5237 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.1691, allocations: 234.5 kB / 0.5239 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.1693, allocations: 91.39 kB / 0.524 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.1694, allocations: 11.98 kB / 0.524 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1694, allocations: 42.44 kB / 0.524 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.1694, allocations: 4 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of matching and sorting (n=32): time 0.002651/0.1721, allocations: 1.189 MB / 0.5252 GB, free: 13.65 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.1722, allocations: 136.5 kB / 0.5253 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1724, allocations: 229 kB / 0.5256 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.1724, allocations: 33.7 kB / 0.5256 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.1726, allocations: 172.6 kB / 0.5258 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1727, allocations: 134.9 kB / 0.5259 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1729, allocations: 66.12 kB / 0.526 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000178/0.173, allocations: 338.8 kB / 0.5263 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.1733, allocations: 102 kB / 0.5264 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.1737, allocations: 233.4 kB / 0.5266 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.1743, allocations: 373.1 kB / 0.527 GB, free: 11.69 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1743, allocations: 7.938 kB / 0.527 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.000856/0.1752, allocations: 388.8 kB / 0.5273 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1752, allocations: 8 kB / 0.5273 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1752, allocations: 4.406 kB / 0.5273 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.1753, allocations: 12 kB / 0.5274 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.1757, allocations: 103.8 kB / 0.5275 GB, free: 11.17 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.1757, allocations: 11.92 kB / 0.5275 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.1759, allocations: 31.88 kB / 0.5275 GB, free: 11.12 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.176, allocations: 16 kB / 0.5275 GB, free: 11.11 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 20
 * 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 (48):
 * Single equations (assignments): 48
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.1761, allocations: 145.8 kB / 0.5276 GB, free: 10.96 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1762, allocations: 27.8 kB / 0.5277 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.1763, allocations: 41.7 kB / 0.5277 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1763, allocations: 4 kB / 0.5277 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1763, allocations: 0 / 0.5277 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.1763, allocations: 7.984 kB / 0.5277 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.1781, allocations: 0.9536 MB / 0.5287 GB, free: 9.863 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1781, allocations: 0 / 0.5287 GB, free: 9.863 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.1785, allocations: 79.88 kB / 0.5287 GB, free: 9.785 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1785, allocations: 0 / 0.5287 GB, free: 9.785 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.1786, allocations: 19.92 kB / 0.5288 GB, free: 9.766 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.1786, allocations: 8.5 kB / 0.5288 GB, free: 9.758 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1786, allocations: 0 / 0.5288 GB, free: 9.758 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1797, allocations: 0.737 MB / 0.5295 GB, free: 8.996 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1798, allocations: 31.73 kB / 0.5295 GB, free: 8.965 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.1798, allocations: 12 kB / 0.5295 GB, free: 8.953 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.1801, allocations: 15.98 kB / 0.5295 GB, free: 8.938 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.1802, allocations: 39.83 kB / 0.5296 GB, free: 8.898 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.1802, allocations: 8 kB / 0.5296 GB, free: 8.891 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001589/0.1804, allocations: 156.5 kB / 0.5297 GB, free: 8.738 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1804, allocations: 0 / 0.5297 GB, free: 8.738 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0005004/0.1809, allocations: 72 kB / 0.5298 GB, free: 8.668 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.181, allocations: 99.19 kB / 0.5299 GB, free: 8.562 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007182/0.1817, allocations: 263.6 kB / 0.5301 GB, free: 8.305 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1818, allocations: 0 / 0.5301 GB, free: 8.305 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.1821, allocations: 128.7 kB / 0.5303 GB, free: 8.18 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.1828, allocations: 53.2 kB / 0.5303 GB, free: 8.125 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1843, allocations: 0.8808 MB / 0.5312 GB, free: 7.203 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1847, allocations: 0.7681 MB / 0.5319 GB, free: 6.402 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.000129/0.1848, allocations: 26.97 kB / 0.532 GB, free: 6.371 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.1849, allocations: 31.42 kB / 0.532 GB, free: 6.344 MB / 414.1 MB
Notification: Performance of SimCode: time 5.01e-07/0.1849, allocations: 0 / 0.532 GB, free: 6.344 MB / 414.1 MB
Notification: Performance of Templates: time 0.006854/0.1917, allocations: 2.663 MB / 0.5346 GB, free: 3.691 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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: 5.445289397612214]