Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001386/0.001386, allocations: 99.47 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.001473/0.001473, allocations: 177.3 kB / 15.94 MB, free: 228 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.655/1.655, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3952/0.3952, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.1. 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.0006083/0.0006085, allocations: 20.22 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1457, allocations: 57.51 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00277/0.1485, allocations: 1.8 MB / 435.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.15, allocations: 0.7416 MB / 436.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.1503, allocations: 7.938 kB / 436.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1504, allocations: 19.84 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.1507, allocations: 83.77 kB / 436.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.1512, allocations: 95.8 kB / 436.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.1517, allocations: 212 kB / 436.9 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1519, allocations: 68.62 kB / 436.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.1522, allocations: 127.6 kB / 437.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1525, allocations: 127.5 kB / 437.2 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.1526, allocations: 16 kB / 437.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1527, allocations: 51.91 kB / 437.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.1528, allocations: 55.86 kB / 437.3 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1529, allocations: 65.58 kB / 437.4 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1533, allocations: 235.6 kB / 437.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1533, allocations: 0 / 437.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1533, allocations: 7.938 kB / 437.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.1533, allocations: 0 / 437.6 MB, free: 1.871 MB / 366.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.000922/0.1542, allocations: 0.5223 MB / 438.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1543, allocations: 12.03 kB / 438.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.1544, allocations: 31.58 kB / 438.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1547, allocations: 238.7 kB / 438.4 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.1548, allocations: 20.44 kB / 438.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.1548, allocations: 23.98 kB / 438.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.1553, allocations: 263.1 kB / 438.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1554, allocations: 0 / 438.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.1554, allocations: 8 kB / 438.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1554, allocations: 8 kB / 438.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.1559, allocations: 241.6 kB / 439 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.1572, allocations: 0.7403 MB / 439.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.1577, allocations: 246.5 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1578, allocations: 7.984 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1578, allocations: 38.55 kB / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.1578, allocations: 0 / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003031/0.1608, allocations: 1.497 MB / 441.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1609, allocations: 55.41 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1611, allocations: 202.5 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.1611, allocations: 33.7 kB / 441.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1613, allocations: 144.5 kB / 441.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.1614, allocations: 110.4 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.1614, allocations: 4 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1615, allocations: 338.8 kB / 442.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.1618, allocations: 120 kB / 442.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1621, allocations: 175.9 kB / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1623, allocations: 115.8 kB / 442.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1624, allocations: 4 kB / 442.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008477/0.1632, allocations: 449.8 kB / 443.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1632, allocations: 7.984 kB / 443.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1633, allocations: 0 / 443.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.1638, allocations: 236.7 kB / 443.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1641, allocations: 63.97 kB / 443.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007664/0.1648, allocations: 0.7592 MB / 444.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.1651, allocations: 51.95 kB / 444.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.1652, allocations: 16 kB / 444.3 MB, free: 10.79 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.0001585/0.1653, allocations: 137.8 kB / 444.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.1654, allocations: 27.7 kB / 444.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.1655, allocations: 34.66 kB / 444.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1655, allocations: 4 kB / 444.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1655, allocations: 0 / 444.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.1655, allocations: 11.94 kB / 444.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.1671, allocations: 0.948 MB / 445.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1671, allocations: 4 kB / 445.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.1673, allocations: 43.98 kB / 445.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003833/0.1677, allocations: 224.6 kB / 445.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.1677, allocations: 7.984 kB / 445.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/0.1684, allocations: 0.7201 MB / 446.5 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1684, allocations: 0 / 446.5 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1695, allocations: 0.6547 MB / 447.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1696, allocations: 124.8 kB / 447.3 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.1697, allocations: 12 kB / 447.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.1699, allocations: 52.02 kB / 447.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.1701, allocations: 51.89 kB / 447.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.1701, allocations: 11.98 kB / 447.4 MB, free: 7.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1702, allocations: 148.4 kB / 447.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1702, allocations: 0 / 447.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.1706, allocations: 80 kB / 447.6 MB, free: 7.352 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.0002005/0.1708, allocations: 123.2 kB / 447.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000631/0.1714, allocations: 319.6 kB / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1714, allocations: 0 / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.1717, allocations: 163.8 kB / 448.2 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.172, allocations: 35.91 kB / 448.2 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1741, allocations: 0.9377 MB / 449.2 MB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.1745, allocations: 0.7568 MB / 449.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.992e-05/0.1746, allocations: 26.27 kB / 449.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.1747, allocations: 19.44 kB / 450 MB, free: 4.918 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1747, allocations: 0 / 450 MB, free: 4.918 MB / 382.1 MB Notification: Performance of Templates: time 0.008575/0.1833, allocations: 4.604 MB / 454.6 MB, free: 316 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) Environment - environmentSimulation: