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.001304/0.001304, allocations: 110.4 kB / 18.33 MB, free: 4.078 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.001339/0.001339, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.561/1.561, allocations: 207.6 MB / 232.1 MB, free: 3.16 MB / 174.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.3969/0.3969, allocations: 44.23 MB / 328.4 MB, free: 6.242 MB / 254.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.002214/0.002214, allocations: 78.12 kB / 465.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1564, allocations: 61.01 MB / 0.5142 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003597/0.16, allocations: 2.278 MB / 0.5164 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1613, allocations: 0.7772 MB / 0.5172 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1614, allocations: 8.062 kB / 0.5172 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.1616, allocations: 37.14 kB / 0.5172 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.1617, allocations: 72.06 kB / 0.5173 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1622, allocations: 139.4 kB / 0.5174 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1625, allocations: 333.8 kB / 0.5177 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1627, allocations: 68.53 kB / 0.5178 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1628, allocations: 139.6 kB / 0.5179 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.163, allocations: 163.4 kB / 0.5181 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.1631, allocations: 24 kB / 0.5181 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1632, allocations: 75.94 kB / 0.5182 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.1633, allocations: 67.81 kB / 0.5182 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.1634, allocations: 131.3 kB / 0.5184 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.1637, allocations: 350.7 kB / 0.5187 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1637, allocations: 0 / 0.5187 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1637, allocations: 0 / 0.5187 GB, free: 8.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1637, allocations: 0 / 0.5187 GB, free: 8.59 MB / 382.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.0008047/0.1645, allocations: 0.5611 MB / 0.5193 GB, free: 7.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1646, allocations: 15.89 kB / 0.5193 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.1646, allocations: 24.8 kB / 0.5193 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1649, allocations: 251.9 kB / 0.5195 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.165, allocations: 16.81 kB / 0.5195 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.165, allocations: 32.33 kB / 0.5196 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.1655, allocations: 259.5 kB / 0.5198 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1655, allocations: 8 kB / 0.5198 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.1655, allocations: 11.92 kB / 0.5198 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1655, allocations: 4 kB / 0.5198 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.166, allocations: 237.6 kB / 0.5201 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1672, allocations: 0.7247 MB / 0.5208 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.1676, allocations: 234.5 kB / 0.521 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.1679, allocations: 129.6 kB / 0.5211 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.1679, allocations: 4 kB / 0.5211 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1679, allocations: 34.55 kB / 0.5212 GB, free: 5.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.1679, allocations: 4 kB / 0.5212 GB, free: 5.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002882/0.1708, allocations: 1.449 MB / 0.5226 GB, free: 4.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.1708, allocations: 55.34 kB / 0.5226 GB, free: 4.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.171, allocations: 198.8 kB / 0.5228 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.171, allocations: 33.7 kB / 0.5229 GB, free: 4.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1711, allocations: 136.8 kB / 0.523 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.1712, allocations: 123 kB / 0.5231 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1713, allocations: 61.69 kB / 0.5232 GB, free: 3.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.1714, allocations: 338.8 kB / 0.5235 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1716, allocations: 116 kB / 0.5236 GB, free: 3.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.1718, allocations: 171.2 kB / 0.5238 GB, free: 3.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.1721, allocations: 255.2 kB / 0.524 GB, free: 2.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1721, allocations: 0 / 0.524 GB, free: 2.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006292/0.1728, allocations: 421.9 kB / 0.5244 GB, free: 2.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1728, allocations: 7.938 kB / 0.5244 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1728, allocations: 7.938 kB / 0.5244 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.1732, allocations: 236.7 kB / 0.5246 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.1734, allocations: 51.97 kB / 0.5247 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005671/0.174, allocations: 0.7592 MB / 0.5254 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.1742, allocations: 39.95 kB / 0.5255 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1742, allocations: 8 kB / 0.5255 GB, free: 1.262 MB / 382.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.0001772/0.1744, allocations: 151.3 kB / 0.5256 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.1744, allocations: 27.8 kB / 0.5257 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.1745, allocations: 42.58 kB / 0.5257 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1745, allocations: 4 kB / 0.5257 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1745, allocations: 0 / 0.5257 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1745, allocations: 0 / 0.5257 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.1758, allocations: 0.9363 MB / 0.5266 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1758, allocations: 0 / 0.5266 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.1761, allocations: 55.91 kB / 0.5267 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.1765, allocations: 212.7 kB / 0.5269 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.1765, allocations: 12 kB / 0.5269 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009349/0.1775, allocations: 0.7123 MB / 0.5276 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1775, allocations: 4.031 kB / 0.5276 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.1787, allocations: 0.6496 MB / 0.5282 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.1788, allocations: 124.9 kB / 0.5283 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.1789, allocations: 11.94 kB / 0.5283 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.1791, allocations: 31.95 kB / 0.5284 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.1793, allocations: 44 kB / 0.5284 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.1793, allocations: 19.98 kB / 0.5284 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1794, allocations: 156 kB / 0.5286 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1794, allocations: 3.938 kB / 0.5286 GB, free: 13.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.1798, allocations: 75.94 kB / 0.5287 GB, free: 13.86 MB / 398.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.0002205/0.18, allocations: 127.1 kB / 0.5288 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007599/0.1808, allocations: 291.8 kB / 0.5291 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1808, allocations: 0 / 0.5291 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.1811, allocations: 172.2 kB / 0.5292 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1815, allocations: 28.08 kB / 0.5293 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1835, allocations: 0.764 MB / 0.53 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1839, allocations: 0.7486 MB / 0.5307 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.15e-05/0.184, allocations: 22.3 kB / 0.5308 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.1841, allocations: 23.42 kB / 0.5308 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1841, allocations: 0 / 0.5308 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Templates: time 0.01036/0.1944, allocations: 5.316 MB / 0.536 GB, free: 6.316 MB / 398.1 MB " [Timeout remaining time 660] 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.541291436180472]