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.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.725/1.725, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.4139/0.4139, allocations: 39.95 MB / 309.7 MB, free: 9.273 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.001947/0.001947, allocations: 75.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1431, allocations: 56.87 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005533/0.1487, allocations: 2.233 MB / 436.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1519, allocations: 0.7915 MB / 437.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.1522, allocations: 4 kB / 437.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.1526, allocations: 35.59 kB / 437.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.1529, allocations: 67.41 kB / 437.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.1536, allocations: 135.8 kB / 437.8 MB, free: 420 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.1541, allocations: 323.3 kB / 438.1 MB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.1545, allocations: 92.55 kB / 438.2 MB, free: 0 / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.1548, allocations: 143.5 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.1552, allocations: 155.4 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-05/0.1553, allocations: 28 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.1555, allocations: 75.94 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1556, allocations: 63.77 kB / 438.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.1558, allocations: 131.4 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.1564, allocations: 339.2 kB / 439.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1564, allocations: 0 / 439.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1564, allocations: 0 / 439.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1564, allocations: 4 kB / 439.1 MB, free: 15.08 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.001273/0.1577, allocations: 0.5535 MB / 439.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.1578, allocations: 11.89 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1579, allocations: 24.66 kB / 439.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.1583, allocations: 251.9 kB / 439.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.1584, allocations: 16.81 kB / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.1584, allocations: 24.38 kB / 440 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.1592, allocations: 267.5 kB / 440.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.1592, allocations: 3.906 kB / 440.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.1592, allocations: 8 kB / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1593, allocations: 11.94 kB / 440.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.16, allocations: 233.6 kB / 440.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.1618, allocations: 0.7323 MB / 441.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.1627, allocations: 242.5 kB / 441.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.1631, allocations: 140.8 kB / 441.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1631, allocations: 0 / 441.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1632, allocations: 42.5 kB / 441.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.1632, allocations: 0 / 441.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.004611/0.1678, allocations: 1.465 MB / 443.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.1679, allocations: 51.41 kB / 443.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1682, allocations: 202.6 kB / 443.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.1683, allocations: 33.7 kB / 443.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1685, allocations: 136.6 kB / 443.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1686, allocations: 110.5 kB / 443.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.1688, allocations: 65.69 kB / 443.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1689, allocations: 326.8 kB / 444 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.1693, allocations: 131.7 kB / 444.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.1697, allocations: 171.3 kB / 444.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/0.1703, allocations: 243.3 kB / 444.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1703, allocations: 0 / 444.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001105/0.1714, allocations: 441.8 kB / 444.9 MB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.1715, allocations: 4 kB / 445 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1715, allocations: 4 kB / 445 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/0.1724, allocations: 228.7 kB / 445.2 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.1727, allocations: 59.91 kB / 445.2 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.1737, allocations: 0.7592 MB / 446 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.1741, allocations: 27.97 kB / 446 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.1742, allocations: 19.98 kB / 446 MB, free: 7.719 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.0002452/0.1744, allocations: 138.8 kB / 446.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.1745, allocations: 23.72 kB / 446.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.1747, allocations: 42.64 kB / 446.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.1747, allocations: 4 kB / 446.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.1747, allocations: 3.938 kB / 446.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.1747, allocations: 0 / 446.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.177, allocations: 0.9596 MB / 447.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1771, allocations: 0 / 447.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.1774, allocations: 51.97 kB / 447.3 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005834/0.178, allocations: 212.7 kB / 447.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.178, allocations: 19.98 kB / 447.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008917/0.1789, allocations: 0.7122 MB / 448.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.179, allocations: 0 / 448.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.1806, allocations: 0.6372 MB / 448.8 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.1808, allocations: 128.8 kB / 449 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.1809, allocations: 11.94 kB / 449 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.1813, allocations: 35.95 kB / 449 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.1815, allocations: 51.92 kB / 449.1 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.1815, allocations: 15.98 kB / 449.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.1817, allocations: 144.2 kB / 449.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1817, allocations: 4 kB / 449.2 MB, free: 4.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006888/0.1824, allocations: 80 kB / 449.3 MB, free: 4.312 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.0003023/0.1828, allocations: 123.2 kB / 449.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.184, allocations: 331.9 kB / 449.7 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.184, allocations: 4 kB / 449.7 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.1845, allocations: 168 kB / 449.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.1852, allocations: 36.3 kB / 449.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.1882, allocations: 0.7491 MB / 450.7 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.1887, allocations: 0.7564 MB / 451.5 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.1888, allocations: 18.3 kB / 451.5 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.1889, allocations: 23.42 kB / 451.5 MB, free: 2.055 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1889, allocations: 0 / 451.5 MB, free: 2.055 MB / 382.1 MB Notification: Performance of Templates: time 0.2645/0.4535, allocations: 5.062 MB / 456.6 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)