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.0007698/0.0007696, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005197/0.005197, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.676/1.676, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.377/0.377, allocations: 38.04 MB / 308.8 MB, free: 10.18 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.0005653/0.0005653, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1364, allocations: 57.53 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002655/0.1391, allocations: 1.932 MB / 436.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1405, allocations: 0.7607 MB / 437.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1406, allocations: 11.88 kB / 437.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.1408, allocations: 23.78 kB / 437.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.1409, allocations: 59.59 kB / 437.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1413, allocations: 107.8 kB / 437.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.1416, allocations: 319.3 kB / 437.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1418, allocations: 73 kB / 437.8 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1419, allocations: 127.5 kB / 438 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1421, allocations: 135.5 kB / 438.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.1422, allocations: 12 kB / 438.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1423, allocations: 63.95 kB / 438.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.1424, allocations: 59.73 kB / 438.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1425, allocations: 141.1 kB / 438.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.1428, allocations: 315.2 kB / 438.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1429, allocations: 0 / 438.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1429, allocations: 0 / 438.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1429, allocations: 0 / 438.7 MB, free: 1.07 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.0008035/0.1437, allocations: 0.5186 MB / 439.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1437, allocations: 8.031 kB / 439.2 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1438, allocations: 28.66 kB / 439.2 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1441, allocations: 251.7 kB / 439.5 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.1441, allocations: 20.81 kB / 439.5 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.1442, allocations: 20.38 kB / 439.5 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.1447, allocations: 271.5 kB / 439.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1447, allocations: 4 kB / 439.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1447, allocations: 8 kB / 439.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1448, allocations: 4 kB / 439.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.1452, allocations: 237.6 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1465, allocations: 0.744 MB / 440.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.147, allocations: 254.4 kB / 441 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.1472, allocations: 144.8 kB / 441.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1473, allocations: 4.062 kB / 441.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1473, allocations: 34.56 kB / 441.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1473, allocations: 0 / 441.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002976/0.1503, allocations: 1.517 MB / 442.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1503, allocations: 55.41 kB / 442.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1505, allocations: 194.6 kB / 443 MB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.1506, allocations: 33.7 kB / 443 MB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.1507, allocations: 136.6 kB / 443.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.595e-05/0.1508, allocations: 118.4 kB / 443.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.1508, allocations: 29.7 kB / 443.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1509, allocations: 338.8 kB / 443.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.1512, allocations: 120 kB / 443.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.1515, allocations: 179.8 kB / 443.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.1519, allocations: 259.1 kB / 444.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1519, allocations: 3.938 kB / 444.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007438/0.1526, allocations: 437.7 kB / 444.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1527, allocations: 4 kB / 444.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1527, allocations: 8.062 kB / 444.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/0.1532, allocations: 240.7 kB / 444.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1534, allocations: 55.97 kB / 444.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007084/0.1541, allocations: 0.7475 MB / 445.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1544, allocations: 52.05 kB / 445.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1544, allocations: 12 kB / 445.7 MB, free: 9.664 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.0001555/0.1546, allocations: 142 kB / 445.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.1547, allocations: 23.72 kB / 445.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.1548, allocations: 42.58 kB / 445.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1548, allocations: 4 kB / 445.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1548, allocations: 0 / 445.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1548, allocations: 0 / 445.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.1563, allocations: 0.9791 MB / 446.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1563, allocations: 0 / 446.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1565, allocations: 47.91 kB / 446.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003825/0.1569, allocations: 220.7 kB / 447.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.157, allocations: 8 kB / 447.2 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005794/0.1576, allocations: 0.7123 MB / 447.9 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1576, allocations: 0 / 447.9 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1586, allocations: 0.6488 MB / 448.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.1588, allocations: 132.8 kB / 448.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.1589, allocations: 11.94 kB / 448.7 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.1591, allocations: 44.03 kB / 448.7 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.1593, allocations: 51.91 kB / 448.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1593, allocations: 11.94 kB / 448.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1595, allocations: 148.2 kB / 448.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1595, allocations: 0 / 448.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.1599, allocations: 79.98 kB / 449 MB, free: 6.223 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.0002526/0.1601, allocations: 127.1 kB / 449.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.1609, allocations: 319.8 kB / 449.4 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1609, allocations: 0 / 449.4 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.1612, allocations: 172 kB / 449.6 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1617, allocations: 27.98 kB / 449.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.1637, allocations: 0.9771 MB / 450.6 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1641, allocations: 0.7486 MB / 451.3 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.973e-05/0.1642, allocations: 22.28 kB / 451.4 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.1643, allocations: 23.44 kB / 451.4 MB, free: 3.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1643, allocations: 0 / 451.4 MB, free: 3.75 MB / 382.1 MB Notification: Performance of Templates: time 0.2218/0.386, allocations: 4.739 MB / 456.1 MB, free: 50.43 MB / 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: