Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.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.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009257, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.01038/0.01038, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.737/1.737, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.4403/0.4403, allocations: 40 MB / 310.7 MB, free: 9.629 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.0005855/0.0005855, allocations: 20 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1522, allocations: 57.96 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002748/0.155, allocations: 1.887 MB / 439.3 MB, free: 8 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1566, allocations: 0.6984 MB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.1569, allocations: 7.938 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1571, allocations: 23.78 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1573, allocations: 55.52 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1578, allocations: 87.86 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.1581, allocations: 250.8 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1583, allocations: 60.5 kB / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1585, allocations: 87.58 kB / 440.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1587, allocations: 87.56 kB / 440.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1587, allocations: 12 kB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.1587, allocations: 8 kB / 440.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.1588, allocations: 35.84 kB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1589, allocations: 129.2 kB / 440.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1592, allocations: 219.4 kB / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1592, allocations: 4 kB / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1592, allocations: 0 / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1592, allocations: 0 / 441 MB, free: 14.25 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007054/0.1599, allocations: 479.2 kB / 441.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.16, allocations: 8.031 kB / 441.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.16, allocations: 28.64 kB / 441.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1603, allocations: 240.4 kB / 441.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1603, allocations: 12.81 kB / 441.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.1604, allocations: 28.12 kB / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.1608, allocations: 218.6 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.1609, allocations: 7.906 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1609, allocations: 8 kB / 442 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1609, allocations: 4 kB / 442 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.1612, allocations: 127.9 kB / 442.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1627, allocations: 1.025 MB / 443.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.163, allocations: 162.4 kB / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/0.1631, allocations: 55.47 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1631, allocations: 3.984 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1631, allocations: 38.5 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1631, allocations: 0 / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003592/0.1635, allocations: 149.8 kB / 443.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.1636, allocations: 136.6 kB / 443.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1638, allocations: 187 kB / 443.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1638, allocations: 25.7 kB / 443.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1639, allocations: 155.9 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.164, allocations: 63.09 kB / 444.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.164, allocations: 25.72 kB / 444.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1642, allocations: 330.8 kB / 444.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.1643, allocations: 43.98 kB / 444.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.1645, allocations: 154.5 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.1647, allocations: 218.4 kB / 444.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1648, allocations: 4 kB / 444.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003945/0.1652, allocations: 237 kB / 445.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1652, allocations: 4 kB / 445.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1652, allocations: 4 kB / 445.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1652, allocations: 8.438 kB / 445.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.1654, allocations: 63.91 kB / 445.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.1655, allocations: 11.94 kB / 445.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1656, allocations: 27.69 kB / 445.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1656, allocations: 12.05 kB / 445.3 MB, free: 9.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1658, allocations: 141.7 kB / 445.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.1659, allocations: 23.73 kB / 445.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.166, allocations: 78.61 kB / 445.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.166, allocations: 4 kB / 445.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.1661, allocations: 4 kB / 445.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1661, allocations: 4 kB / 445.5 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1665, allocations: 257.4 kB / 445.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1666, allocations: 0 / 445.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.1668, allocations: 48.16 kB / 445.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1668, allocations: 4 kB / 445.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.1668, allocations: 8 kB / 445.8 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1668, allocations: 4 kB / 445.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1668, allocations: 0 / 445.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.1673, allocations: 0.489 MB / 446.3 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.1673, allocations: 92.91 kB / 446.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.1674, allocations: 8 kB / 446.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.1676, allocations: 0 / 446.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1676, allocations: 7.984 kB / 446.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.1676, allocations: 8 kB / 446.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.531e-05/0.1677, allocations: 129.2 kB / 446.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1677, allocations: 0 / 446.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.1681, allocations: 59.84 kB / 446.6 MB, free: 8.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.1683, allocations: 111 kB / 446.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1685, allocations: 124.6 kB / 446.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1685, allocations: 8 kB / 446.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/0.1686, allocations: 43.92 kB / 446.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.1693, allocations: 39.97 kB / 446.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1708, allocations: 1.005 MB / 447.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1713, allocations: 0.7437 MB / 448.7 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.1714, allocations: 21.94 kB / 448.7 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.1715, allocations: 19.44 kB / 448.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1715, allocations: 0 / 448.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of Templates: time 0.005088/0.1766, allocations: 1.647 MB / 450.4 MB, free: 4.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe 2>&1) Environment - environmentSimulation: