Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001268, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3537/0.3537, allocations: 39.93 MB / 309.4 MB, free: 9.641 MB / 254.1 MB 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1501, allocations: 56.89 MB / 434 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003855/0.154, allocations: 2.282 MB / 436.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1555, allocations: 0.78 MB / 437.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1557, allocations: 0 / 437.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1559, allocations: 27.78 kB / 437.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1561, allocations: 55.55 kB / 437.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.1565, allocations: 115.9 kB / 437.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.1569, allocations: 331.3 kB / 437.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1571, allocations: 88.56 kB / 437.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1573, allocations: 147.5 kB / 437.8 MB, free: 460 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1576, allocations: 147.5 kB / 437.9 MB, free: 312 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.1576, allocations: 28 kB / 438 MB, free: 284 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.1578, allocations: 79.89 kB / 438.1 MB, free: 204 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.1579, allocations: 71.69 kB / 438.1 MB, free: 132 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.158, allocations: 135.5 kB / 438.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1584, allocations: 335.1 kB / 438.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1584, allocations: 0 / 438.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1584, allocations: 0 / 438.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1584, allocations: 0 / 438.6 MB, free: 15.67 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.0009236/0.1594, allocations: 0.5574 MB / 439.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1594, allocations: 11.89 kB / 439.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.1595, allocations: 28.66 kB / 439.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1598, allocations: 247.9 kB / 439.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1598, allocations: 20.81 kB / 439.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.1598, allocations: 20.38 kB / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.1603, allocations: 267.5 kB / 439.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1604, allocations: 3.906 kB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.1604, allocations: 4 kB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1604, allocations: 8 kB / 439.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.1609, allocations: 245.5 kB / 440 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1622, allocations: 0.7284 MB / 440.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.1627, allocations: 238.5 kB / 440.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.1629, allocations: 136.8 kB / 441.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.163, allocations: 3.938 kB / 441.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.163, allocations: 42.55 kB / 441.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.163, allocations: 0 / 441.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002979/0.166, allocations: 1.457 MB / 442.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.1661, allocations: 55.41 kB / 442.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1663, allocations: 194.6 kB / 442.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.1664, allocations: 37.7 kB / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1665, allocations: 136.6 kB / 443 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.1666, allocations: 114.5 kB / 443.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.1668, allocations: 65.69 kB / 443.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.167, allocations: 330.8 kB / 443.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.1672, allocations: 131.7 kB / 443.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.1675, allocations: 163.4 kB / 443.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.1679, allocations: 243.2 kB / 444 MB, free: 9.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1679, allocations: 4 kB / 444 MB, free: 9.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007642/0.1687, allocations: 441.8 kB / 444.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1687, allocations: 4 kB / 444.5 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1687, allocations: 8 kB / 444.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/0.1693, allocations: 232.7 kB / 444.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1695, allocations: 59.91 kB / 444.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007324/0.1702, allocations: 0.7514 MB / 445.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1705, allocations: 35.95 kB / 445.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.1705, allocations: 19.88 kB / 445.6 MB, free: 8.305 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.0001746/0.1707, allocations: 138.1 kB / 445.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.1708, allocations: 23.72 kB / 445.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.1709, allocations: 42.58 kB / 445.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1709, allocations: 4 kB / 445.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1709, allocations: 0 / 445.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1709, allocations: 0 / 445.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.1726, allocations: 0.9635 MB / 446.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1726, allocations: 3.938 kB / 446.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.1729, allocations: 51.97 kB / 446.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.1733, allocations: 220.6 kB / 447 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.1733, allocations: 8 kB / 447 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006608/0.174, allocations: 0.7162 MB / 447.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.174, allocations: 4.031 kB / 447.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.1752, allocations: 0.6332 MB / 448.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.1754, allocations: 128.8 kB / 448.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.1754, allocations: 15.94 kB / 448.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1757, allocations: 36.03 kB / 448.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.1758, allocations: 47.92 kB / 448.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.1758, allocations: 11.98 kB / 448.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.176, allocations: 152.2 kB / 448.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.176, allocations: 0 / 448.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.1764, allocations: 72 kB / 448.8 MB, free: 4.902 MB / 382.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.0002238/0.1766, allocations: 127.2 kB / 448.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.1774, allocations: 331.7 kB / 449.3 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1774, allocations: 0 / 449.3 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.1778, allocations: 167.8 kB / 449.4 MB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1782, allocations: 39 kB / 449.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1802, allocations: 0.8509 MB / 450.3 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.1807, allocations: 0.7525 MB / 451.1 MB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1808, allocations: 26.23 kB / 451.1 MB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.1809, allocations: 27.42 kB / 451.1 MB, free: 2.539 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1809, allocations: 0 / 451.1 MB, free: 2.539 MB / 382.1 MB Notification: Performance of Templates: time 0.2391/0.42, allocations: 5.038 MB / 456.2 MB, free: 51.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)