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.001228/0.001228, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001507/0.001508, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.604/1.604, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3182/0.3182, allocations: 37.97 MB / 307.4 MB, free: 10.05 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.001369/0.001369, allocations: 74.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 56.47 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003473/0.1376, allocations: 2.279 MB / 433.5 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1389, allocations: 0.7762 MB / 434.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.139, allocations: 3.938 kB / 434.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1392, allocations: 27.78 kB / 434.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1394, allocations: 55.59 kB / 434.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.1398, allocations: 123.8 kB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1401, allocations: 331.3 kB / 434.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1403, allocations: 80.59 kB / 434.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1405, allocations: 147.5 kB / 435 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1407, allocations: 151.5 kB / 435.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.013e-05/0.1408, allocations: 28 kB / 435.2 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1409, allocations: 75.89 kB / 435.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.141, allocations: 67.8 kB / 435.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1411, allocations: 131.4 kB / 435.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.1415, allocations: 335.2 kB / 435.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1415, allocations: 0 / 435.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1415, allocations: 0 / 435.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1415, allocations: 0 / 435.8 MB, free: 2.367 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.0008614/0.1424, allocations: 0.5575 MB / 436.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1424, allocations: 15.89 kB / 436.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.1425, allocations: 28.56 kB / 436.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1427, allocations: 247.8 kB / 436.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.1428, allocations: 16.81 kB / 436.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.1428, allocations: 24.38 kB / 436.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.1433, allocations: 267.5 kB / 436.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1434, allocations: 3.984 kB / 436.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1434, allocations: 4 kB / 436.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1434, allocations: 11.98 kB / 436.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.1439, allocations: 241.6 kB / 437.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.1451, allocations: 0.7207 MB / 437.9 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.1457, allocations: 242.4 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1459, allocations: 140.8 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1459, allocations: 0 / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.146, allocations: 38.56 kB / 438.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.122e-06/0.146, allocations: 3.938 kB / 438.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002805/0.1488, allocations: 1.47 MB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1488, allocations: 55.41 kB / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.149, allocations: 194.5 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1491, allocations: 37.69 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.1492, allocations: 132.7 kB / 440.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.1493, allocations: 114.4 kB / 440.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1494, allocations: 69.59 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1495, allocations: 334.8 kB / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1497, allocations: 131.7 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.15, allocations: 172 kB / 441 MB, free: 12.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.1504, allocations: 243.3 kB / 441.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1504, allocations: 0 / 441.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007735/0.1512, allocations: 441.8 kB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1512, allocations: 4 kB / 441.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1513, allocations: 7.984 kB / 441.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/0.1517, allocations: 240.7 kB / 441.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.1519, allocations: 55.91 kB / 442 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/0.1526, allocations: 0.7436 MB / 442.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1529, allocations: 31.95 kB / 442.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1529, allocations: 16 kB / 442.8 MB, free: 11 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.000134/0.1531, allocations: 142.1 kB / 442.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.1531, allocations: 27.72 kB / 442.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.1532, allocations: 38.58 kB / 443 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1532, allocations: 4 kB / 443 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1532, allocations: 0 / 443 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1532, allocations: 3.984 kB / 443 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.1547, allocations: 0.9596 MB / 443.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1547, allocations: 3.984 kB / 443.9 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.1549, allocations: 51.95 kB / 444 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.1553, allocations: 216.7 kB / 444.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.1554, allocations: 15.98 kB / 444.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007362/0.1561, allocations: 0.7122 MB / 444.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.1561, allocations: 8.016 kB / 444.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1572, allocations: 0.6371 MB / 445.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.1574, allocations: 124.8 kB / 445.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.1575, allocations: 15.94 kB / 445.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.1577, allocations: 44 kB / 445.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.1578, allocations: 47.92 kB / 445.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.1579, allocations: 8 kB / 445.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.158, allocations: 148.2 kB / 445.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.158, allocations: 0 / 445.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.1584, allocations: 76 kB / 446 MB, free: 7.578 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.000214/0.1586, allocations: 135 kB / 446.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007435/0.1593, allocations: 331.7 kB / 446.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1594, allocations: 0 / 446.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.1597, allocations: 155.9 kB / 446.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1601, allocations: 31.61 kB / 446.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1619, allocations: 0.8546 MB / 447.5 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.1624, allocations: 0.7525 MB / 448.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.285e-05/0.1625, allocations: 34.27 kB / 448.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.1625, allocations: 19.44 kB / 448.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1626, allocations: 3.938 kB / 448.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of Templates: time 0.009049/0.1716, allocations: 5.05 MB / 453.4 MB, free: 164 kB / 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)