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.001293/0.001294, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001304/0.001303, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3856/0.3856, allocations: 39.99 MB / 310.4 MB, free: 9.984 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.0005828/0.000583, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1537, allocations: 57.95 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003373/0.1571, allocations: 1.797 MB / 438.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1589, allocations: 0.7493 MB / 439.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.159, allocations: 4 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.1592, allocations: 31.77 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1594, allocations: 67.94 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.1598, allocations: 103.7 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.1602, allocations: 208 kB / 439.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1605, allocations: 64.77 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1607, allocations: 127.6 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.161, allocations: 131.5 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.161, allocations: 12 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.1612, allocations: 67.83 kB / 440.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.1613, allocations: 47.81 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.1615, allocations: 69.58 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.1618, allocations: 231.7 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1618, allocations: 4 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.112e-06/0.1619, allocations: 0 / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1619, allocations: 0 / 440.4 MB, free: 14.89 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.00125/0.1631, allocations: 0.53 MB / 441 MB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.1632, allocations: 12.03 kB / 441 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.1633, allocations: 23.72 kB / 441 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.1638, allocations: 238.6 kB / 441.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.1638, allocations: 20.44 kB / 441.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.1639, allocations: 20 kB / 441.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1645, allocations: 263.2 kB / 441.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.1646, allocations: 7.906 kB / 441.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.1646, allocations: 4 kB / 441.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1646, allocations: 11.95 kB / 441.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.1652, allocations: 237.6 kB / 441.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.1667, allocations: 0.7441 MB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.1672, allocations: 258.4 kB / 442.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1673, allocations: 4 kB / 442.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1673, allocations: 34.56 kB / 442.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.542e-06/0.1673, allocations: 0 / 442.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003188/0.1705, allocations: 1.501 MB / 444.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1706, allocations: 63.36 kB / 444.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.1709, allocations: 194.6 kB / 444.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.171, allocations: 37.7 kB / 444.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1711, allocations: 140.6 kB / 444.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.1712, allocations: 110.4 kB / 444.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.1712, allocations: 8 kB / 444.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1713, allocations: 334.8 kB / 445.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.1716, allocations: 119.9 kB / 445.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.1719, allocations: 175.1 kB / 445.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.1721, allocations: 111.8 kB / 445.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1721, allocations: 0 / 445.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008351/0.173, allocations: 457.9 kB / 446 MB, free: 8.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.173, allocations: 7.594 kB / 446.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.173, allocations: 0 / 446.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.1735, allocations: 236.7 kB / 446.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1738, allocations: 59.91 kB / 446.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00073/0.1745, allocations: 0.7475 MB / 447.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.1748, allocations: 43.95 kB / 447.1 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.1748, allocations: 19.94 kB / 447.2 MB, free: 7.812 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,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.175, allocations: 149.8 kB / 447.3 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.175, allocations: 23.72 kB / 447.3 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.1751, allocations: 34.66 kB / 447.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1751, allocations: 4 kB / 447.4 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.1752, allocations: 7.891 kB / 447.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1752, allocations: 3.984 kB / 447.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.1768, allocations: 0.9481 MB / 448.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1768, allocations: 7.984 kB / 448.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.177, allocations: 51.91 kB / 448.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.1775, allocations: 212.7 kB / 448.6 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.1775, allocations: 7.984 kB / 448.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007434/0.1782, allocations: 0.7124 MB / 449.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1783, allocations: 0 / 449.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1794, allocations: 0.6624 MB / 450 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.1796, allocations: 128.8 kB / 450.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.1797, allocations: 12.06 kB / 450.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.1799, allocations: 47.95 kB / 450.2 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.1801, allocations: 59.95 kB / 450.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1801, allocations: 11.98 kB / 450.2 MB, free: 4.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1803, allocations: 140.5 kB / 450.4 MB, free: 4.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1803, allocations: 0 / 450.4 MB, free: 4.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000401/0.1807, allocations: 80 kB / 450.4 MB, free: 4.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003246/0.1811, allocations: 131.1 kB / 450.6 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.1819, allocations: 319.7 kB / 450.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1819, allocations: 0 / 450.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.1822, allocations: 163.8 kB / 451 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1826, allocations: 28.17 kB / 451.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1846, allocations: 0.938 MB / 452 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.185, allocations: 0.7568 MB / 452.8 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.311e-05/0.1851, allocations: 26.28 kB / 452.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.1852, allocations: 15.44 kB / 452.8 MB, free: 1.938 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1852, allocations: 4 kB / 452.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of Templates: time 0.2533/0.4385, allocations: 4.591 MB / 457.4 MB, free: 48.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: