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.001175/0.001175, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001104/0.001104, allocations: 172.7 kB / 15.95 MB, free: 208 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.8/1.8, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.4329/0.4329, allocations: 40 MB / 310.4 MB, free: 9.844 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.0005723/0.0005728, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1536, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003974/0.1577, allocations: 1.871 MB / 438.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1595, allocations: 0.7376 MB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.1599, allocations: 7.938 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.1601, allocations: 27.78 kB / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1604, allocations: 51.59 kB / 439.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.1609, allocations: 107.8 kB / 439.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.1615, allocations: 295.3 kB / 439.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.1617, allocations: 60.78 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.1621, allocations: 119.6 kB / 440.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1624, allocations: 139.5 kB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.1625, allocations: 12 kB / 440.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.1627, allocations: 59.89 kB / 440.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.1628, allocations: 47.81 kB / 440.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1629, allocations: 69.58 kB / 440.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.1632, allocations: 239.7 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1632, allocations: 3.828 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1632, allocations: 0 / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1633, allocations: 0 / 440.6 MB, free: 14.73 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.001004/0.1643, allocations: 0.53 MB / 441.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1643, allocations: 8.031 kB / 441.2 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.1644, allocations: 23.72 kB / 441.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1648, allocations: 242.7 kB / 441.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.1648, allocations: 16.44 kB / 441.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.1649, allocations: 20 kB / 441.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.1655, allocations: 271.1 kB / 441.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1655, allocations: 3.906 kB / 441.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1655, allocations: 11.94 kB / 441.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1656, allocations: 11.95 kB / 441.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.1661, allocations: 233.6 kB / 442 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1676, allocations: 0.748 MB / 442.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.1682, allocations: 246.5 kB / 443 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.1685, allocations: 136.8 kB / 443.1 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1685, allocations: 4 kB / 443.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.1685, allocations: 38.5 kB / 443.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 5.19e-06/0.1686, allocations: 0 / 443.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003246/0.1718, allocations: 1.508 MB / 444.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1719, allocations: 59.41 kB / 444.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1721, allocations: 194.6 kB / 444.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1721, allocations: 33.7 kB / 444.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1723, allocations: 136.6 kB / 445.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.1724, allocations: 114.4 kB / 445.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.1725, allocations: 8 kB / 445.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1726, allocations: 330.8 kB / 445.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1729, allocations: 131.9 kB / 445.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.1732, allocations: 167.1 kB / 445.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.1734, allocations: 119.8 kB / 445.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1734, allocations: 0 / 445.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008912/0.1743, allocations: 449.9 kB / 446.3 MB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1744, allocations: 4 kB / 446.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1744, allocations: 7.969 kB / 446.4 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.1749, allocations: 232.8 kB / 446.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1752, allocations: 71.88 kB / 446.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007616/0.1759, allocations: 0.7475 MB / 447.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.1762, allocations: 48.02 kB / 447.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.1762, allocations: 12 kB / 447.5 MB, free: 7.512 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.0001723/0.1764, allocations: 150 kB / 447.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.1765, allocations: 19.72 kB / 447.6 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-05/0.1766, allocations: 38.64 kB / 447.7 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1766, allocations: 0 / 447.7 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.1766, allocations: 7.953 kB / 447.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1766, allocations: 7.984 kB / 447.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.1781, allocations: 0.9519 MB / 448.6 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.1781, allocations: 7.984 kB / 448.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.1784, allocations: 39.98 kB / 448.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.1788, allocations: 224.6 kB / 448.9 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1788, allocations: 11.98 kB / 448.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006497/0.1795, allocations: 0.7085 MB / 449.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1795, allocations: 3.984 kB / 449.6 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1806, allocations: 0.6491 MB / 450.3 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1807, allocations: 128.8 kB / 450.4 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.1808, allocations: 11.94 kB / 450.4 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.181, allocations: 52.02 kB / 450.5 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.1812, allocations: 55.89 kB / 450.5 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1812, allocations: 7.984 kB / 450.5 MB, free: 4.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1813, allocations: 144.5 kB / 450.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1813, allocations: 0 / 450.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1817, allocations: 76 kB / 450.7 MB, free: 4.086 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.0002296/0.182, allocations: 123.2 kB / 450.9 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.1827, allocations: 319.6 kB / 451.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1827, allocations: 0 / 451.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.183, allocations: 167.9 kB / 451.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1834, allocations: 36.31 kB / 451.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1853, allocations: 0.9451 MB / 452.3 MB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1857, allocations: 0.7525 MB / 453.1 MB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.614e-05/0.1858, allocations: 18.3 kB / 453.1 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.1859, allocations: 23.42 kB / 453.1 MB, free: 1.648 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1859, allocations: 0 / 453.1 MB, free: 1.648 MB / 382.1 MB Notification: Performance of Templates: time 0.2626/0.4484, allocations: 4.602 MB / 457.7 MB, free: 48.98 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: