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.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 128 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.001292/0.001292, allocations: 198.3 kB / 16.53 MB, free: 6.672 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.595/1.595, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.4311/0.4311, allocations: 38 MB / 307.8 MB, free: 9.992 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.001658/0.001658, allocations: 63.84 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1536, allocations: 56.47 MB / 431.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004014/0.1576, allocations: 2.237 MB / 433.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1589, allocations: 0.78 MB / 434.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1591, allocations: 4 kB / 434.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1593, allocations: 39.66 kB / 434.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.1594, allocations: 63.41 kB / 434.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1599, allocations: 135.7 kB / 435 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.1603, allocations: 331.3 kB / 435.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1605, allocations: 76.58 kB / 435.4 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.1608, allocations: 151.5 kB / 435.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.1611, allocations: 159.5 kB / 435.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.1611, allocations: 28 kB / 435.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1613, allocations: 71.95 kB / 435.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1614, allocations: 63.75 kB / 435.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1616, allocations: 131.4 kB / 435.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.162, allocations: 335.2 kB / 436.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1621, allocations: 0 / 436.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1621, allocations: 0 / 436.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1621, allocations: 0 / 436.3 MB, free: 2.043 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.001022/0.1631, allocations: 0.561 MB / 436.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.1632, allocations: 11.89 kB / 436.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.1633, allocations: 28.56 kB / 436.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1636, allocations: 251.8 kB / 437.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.1636, allocations: 16.81 kB / 437.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.1637, allocations: 28.38 kB / 437.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.1642, allocations: 263.5 kB / 437.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1642, allocations: 0 / 437.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.1643, allocations: 8 kB / 437.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1643, allocations: 8 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.1648, allocations: 233.6 kB / 437.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.1661, allocations: 0.7285 MB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.1666, allocations: 250.3 kB / 438.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.1669, allocations: 140.8 kB / 438.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1669, allocations: 80 / 438.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1669, allocations: 42.56 kB / 438.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.112e-06/0.1669, allocations: 0 / 438.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003/0.1699, allocations: 1.461 MB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.17, allocations: 51.41 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1702, allocations: 202.5 kB / 440.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1702, allocations: 37.7 kB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.1703, allocations: 132.7 kB / 440.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.1704, allocations: 122.4 kB / 440.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1705, allocations: 65.59 kB / 440.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1707, allocations: 330.8 kB / 441.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1709, allocations: 123.7 kB / 441.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.1712, allocations: 175.2 kB / 441.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1716, allocations: 251.2 kB / 441.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1716, allocations: 0 / 441.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000712/0.1724, allocations: 433.9 kB / 442.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1724, allocations: 4 kB / 442.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1724, allocations: 4 kB / 442.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/0.1731, allocations: 232.7 kB / 442.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.1733, allocations: 55.91 kB / 442.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008541/0.1742, allocations: 0.7553 MB / 443.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1744, allocations: 31.97 kB / 443.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.1745, allocations: 15.98 kB / 443.3 MB, free: 10.68 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.0001583/0.1746, allocations: 142.8 kB / 443.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.1747, allocations: 23.72 kB / 443.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.1748, allocations: 42.58 kB / 443.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1748, allocations: 8.062 kB / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1748, allocations: 0 / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1748, allocations: 0 / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.1763, allocations: 0.9596 MB / 444.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1763, allocations: 0 / 444.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.1765, allocations: 51.91 kB / 444.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/0.1769, allocations: 212.7 kB / 444.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.1769, allocations: 11.98 kB / 444.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005822/0.1775, allocations: 0.72 MB / 445.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1775, allocations: 0 / 445.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.1786, allocations: 0.6449 MB / 446.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1787, allocations: 124.8 kB / 446.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.1788, allocations: 11.94 kB / 446.2 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.179, allocations: 40.02 kB / 446.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.1791, allocations: 47.92 kB / 446.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1792, allocations: 11.98 kB / 446.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1793, allocations: 152.3 kB / 446.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 4 kB / 446.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.1797, allocations: 72 kB / 446.5 MB, free: 7.262 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.0002594/0.18, allocations: 131.1 kB / 446.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.1807, allocations: 327.7 kB / 447 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1807, allocations: 128 / 447 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.1811, allocations: 168.1 kB / 447.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1815, allocations: 32.09 kB / 447.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1835, allocations: 0.7607 MB / 447.9 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1839, allocations: 0.7525 MB / 448.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.184, allocations: 18.3 kB / 448.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.1841, allocations: 27.42 kB / 448.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1841, allocations: 0 / 448.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of Templates: time 0.2613/0.4454, allocations: 5.057 MB / 453.8 MB, free: 54.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (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)