Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.001852/0.001852, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.002519/0.002519, allocations: 192.8 kB / 22.98 MB, free: 5.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.575/1.575, 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.2383/0.2383, 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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1")
translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [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.002157/0.002157, allocations: 76.44 kB / 467.9 MB, free: 4.051 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1589, allocations: 61.03 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004218/0.1631, allocations: 2.283 MB / 0.5188 GB, free: 4.586 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001546/0.1647, allocations: 0.78 MB / 0.5196 GB, free: 3.797 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1648, allocations: 7.938 kB / 0.5196 GB, free: 3.789 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.165, allocations: 31.66 kB / 0.5196 GB, free: 3.758 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1652, allocations: 71.41 kB / 0.5197 GB, free: 3.688 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1656, allocations: 139.7 kB / 0.5198 GB, free: 3.551 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003899/0.166, allocations: 331.2 kB / 0.5201 GB, free: 3.227 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1662, allocations: 60.75 kB / 0.5202 GB, free: 3.164 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1664, allocations: 155.5 kB / 0.5203 GB, free: 3.012 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.1666, allocations: 159.5 kB / 0.5205 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.1667, allocations: 28 kB / 0.5205 GB, free: 2.828 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1669, allocations: 79.89 kB / 0.5206 GB, free: 2.75 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.1669, allocations: 63.77 kB / 0.5206 GB, free: 2.688 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1671, allocations: 131.4 kB / 0.5208 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.1676, allocations: 342.7 kB / 0.5211 GB, free: 2.223 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1676, allocations: 3.984 kB / 0.5211 GB, free: 2.219 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.172e-06/0.1676, allocations: 0 / 0.5211 GB, free: 2.219 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.352e-06/0.1676, allocations: 0 / 0.5211 GB, free: 2.219 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: 54
 * Number of variables: 54
Notification: Performance of Generate backend data structure: time 0.0009655/0.1686, allocations: 489.5 kB / 0.5216 GB, free: 1.711 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1686, allocations: 8.031 kB / 0.5216 GB, free: 1.703 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.1687, allocations: 32.78 kB / 0.5216 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.1691, allocations: 198 kB / 0.5218 GB, free: 1.453 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.1692, allocations: 16.81 kB / 0.5218 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.1692, allocations: 28.33 kB / 0.5218 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.1699, allocations: 263.5 kB / 0.5221 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1699, allocations: 0 / 0.5221 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.1699, allocations: 12 kB / 0.5221 GB, free: 1.133 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.1699, allocations: 4 kB / 0.5221 GB, free: 1.129 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.1705, allocations: 237.6 kB / 0.5223 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.172, allocations: 0.6887 MB / 0.523 GB, free: 168 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.1726, allocations: 230.5 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.1729, allocations: 132.7 kB / 0.5233 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.1729, allocations: 4 kB / 0.5233 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.173, allocations: 34.56 kB / 0.5234 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=25): time 1.332e-06/0.173, allocations: 0 / 0.5234 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of matching and sorting (n=33): time 0.003286/0.1763, allocations: 1.244 MB / 0.5246 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.1763, allocations: 55.41 kB / 0.5246 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1766, allocations: 202.5 kB / 0.5248 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1766, allocations: 29.7 kB / 0.5249 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1767, allocations: 140.9 kB / 0.525 GB, free: 14 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1768, allocations: 111.1 kB / 0.5251 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.1769, allocations: 65.69 kB / 0.5252 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001671/0.1771, allocations: 334.8 kB / 0.5255 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.1774, allocations: 127.9 kB / 0.5256 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1777, allocations: 167.2 kB / 0.5258 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.1782, allocations: 251.1 kB / 0.526 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1782, allocations: 0 / 0.526 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008468/0.179, allocations: 429.9 kB / 0.5264 GB, free: 12.49 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.179, allocations: 8 kB / 0.5264 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.179, allocations: 0 / 0.5264 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.1796, allocations: 240.7 kB / 0.5267 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.1798, allocations: 55.91 kB / 0.5267 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/0.1807, allocations: 0.7513 MB / 0.5274 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.1809, allocations: 39.98 kB / 0.5275 GB, free: 11.38 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1809, allocations: 8 kB / 0.5275 GB, free: 11.37 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (30):
 * Single equations (assignments): 29
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,12)}
Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.1811, allocations: 154.1 kB / 0.5276 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.1812, allocations: 23.86 kB / 0.5277 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.828e-05/0.1813, allocations: 38.59 kB / 0.5277 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1813, allocations: 4 kB / 0.5277 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1813, allocations: 0 / 0.5277 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1813, allocations: 3.984 kB / 0.5277 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.183, allocations: 0.9158 MB / 0.5286 GB, free: 10.17 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.183, allocations: 0 / 0.5286 GB, free: 10.17 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.1832, allocations: 51.91 kB / 0.5286 GB, free: 10.12 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.1837, allocations: 208.7 kB / 0.5288 GB, free: 9.91 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.1837, allocations: 16.05 kB / 0.5289 GB, free: 9.895 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007437/0.1844, allocations: 0.7202 MB / 0.5296 GB, free: 9.148 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1844, allocations: 96 / 0.5296 GB, free: 9.148 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.1856, allocations: 0.6418 MB / 0.5302 GB, free: 8.484 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1857, allocations: 51.78 kB / 0.5302 GB, free: 8.434 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.1858, allocations: 11.94 kB / 0.5303 GB, free: 8.422 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.1861, allocations: 35.95 kB / 0.5303 GB, free: 8.387 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.1862, allocations: 51.89 kB / 0.5303 GB, free: 8.336 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1862, allocations: 11.98 kB / 0.5303 GB, free: 8.324 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001414/0.1864, allocations: 160 kB / 0.5305 GB, free: 8.168 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1864, allocations: 0 / 0.5305 GB, free: 8.168 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000366/0.1867, allocations: 72 kB / 0.5306 GB, free: 8.098 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 2 (inertia3.phi,inertia3.w)
 * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode)
 * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (24):
 * Single equations (assignments): 23
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,9)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/0.187, allocations: 131.1 kB / 0.5307 GB, free: 7.961 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007425/0.1877, allocations: 292.4 kB / 0.531 GB, free: 7.676 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1877, allocations: 0 / 0.531 GB, free: 7.676 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.188, allocations: 156 kB / 0.5311 GB, free: 7.523 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1884, allocations: 35.97 kB / 0.5312 GB, free: 7.488 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1904, allocations: 0.7535 MB / 0.5319 GB, free: 6.699 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.1908, allocations: 0.7564 MB / 0.5326 GB, free: 5.91 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.146e-05/0.1909, allocations: 22.3 kB / 0.5327 GB, free: 5.887 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.191, allocations: 19.44 kB / 0.5327 GB, free: 5.871 MB / 414.1 MB
Notification: Performance of SimCode: time 4.51e-07/0.191, allocations: 0 / 0.5327 GB, free: 5.871 MB / 414.1 MB
Notification: Performance of Templates: time 0.01041/0.2014, allocations: 5.425 MB / 0.538 GB, free: 464 kB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.848251428455114]