Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.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.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001605/0.001606, allocations: 197 kB / 16.14 MB, free: 6.652 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.806/1.806, allocations: 205.1 MB / 222 MB, free: 4.754 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.3594/0.3594, allocations: 39.93 MB / 309.3 MB, free: 9.605 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.001442/0.001442, allocations: 70.78 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1511, allocations: 56.88 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003532/0.1547, allocations: 2.299 MB / 436.1 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.156, allocations: 0.7138 MB / 436.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1562, allocations: 7.938 kB / 436.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.1564, allocations: 27.78 kB / 436.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1565, allocations: 59.53 kB / 436.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1569, allocations: 95.78 kB / 437 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1572, allocations: 242.9 kB / 437.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1574, allocations: 60.78 kB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1575, allocations: 87.64 kB / 437.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1577, allocations: 103.5 kB / 437.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1577, allocations: 12 kB / 437.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.1577, allocations: 12 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1578, allocations: 43.83 kB / 437.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1579, allocations: 107.4 kB / 437.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1581, allocations: 231.1 kB / 437.9 MB, free: 328 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1582, allocations: 4 kB / 437.9 MB, free: 324 kB / 366.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1582, allocations: 0 / 437.9 MB, free: 324 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1582, allocations: 0 / 437.9 MB, free: 324 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008419/0.159, allocations: 0.5224 MB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1591, allocations: 8.031 kB / 438.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.1592, allocations: 28.66 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1595, allocations: 235.9 kB / 438.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1595, allocations: 16.81 kB / 438.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.1595, allocations: 28.38 kB / 438.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.1599, allocations: 219 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1599, allocations: 11.91 kB / 438.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1599, allocations: 4 kB / 438.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1599, allocations: 8 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1602, allocations: 139.8 kB / 439.1 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.1615, allocations: 0.9925 MB / 440.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.162, allocations: 230.2 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.1622, allocations: 75.88 kB / 440.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1622, allocations: 11.98 kB / 440.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1623, allocations: 42.5 kB / 440.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.1623, allocations: 0 / 440.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00145/0.1637, allocations: 1.015 MB / 441.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.1638, allocations: 136.5 kB / 441.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.164, allocations: 194.4 kB / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.164, allocations: 33.7 kB / 441.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1641, allocations: 152.1 kB / 441.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.1642, allocations: 98.56 kB / 442 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.1643, allocations: 69.98 kB / 442.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1645, allocations: 334.8 kB / 442.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1646, allocations: 68.72 kB / 442.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.1648, allocations: 187.8 kB / 442.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1651, allocations: 270.3 kB / 443 MB, free: 10.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1651, allocations: 0 / 443 MB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004789/0.1656, allocations: 317.6 kB / 443.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1656, allocations: 8 kB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1656, allocations: 4 kB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1657, allocations: 4 kB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.1659, allocations: 83.89 kB / 443.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.1659, allocations: 12.31 kB / 443.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1661, allocations: 23.94 kB / 443.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1661, allocations: 12 kB / 443.4 MB, free: 10.21 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 (45): * Single equations (assignments): 45 * 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.000215/0.1663, allocations: 149.8 kB / 443.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.1664, allocations: 27.66 kB / 443.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.1666, allocations: 107 kB / 443.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1667, allocations: 4 kB / 443.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1667, allocations: 0 / 443.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1667, allocations: 7.922 kB / 443.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1677, allocations: 0.775 MB / 444.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1677, allocations: 8.188 kB / 444.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.168, allocations: 67.91 kB / 444.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1681, allocations: 4 kB / 444.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1681, allocations: 8 kB / 444.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1681, allocations: 7.938 kB / 444.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1681, allocations: 4 kB / 444.6 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.1687, allocations: 0.6314 MB / 445.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.1688, allocations: 92.92 kB / 445.3 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.1688, allocations: 12 kB / 445.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.169, allocations: 12.09 kB / 445.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.1691, allocations: 27.84 kB / 445.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1691, allocations: 16 kB / 445.4 MB, free: 8.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.1693, allocations: 136.2 kB / 445.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1693, allocations: 0 / 445.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.1698, allocations: 56 kB / 445.5 MB, free: 7.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (29): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/0.17, allocations: 115.1 kB / 445.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.1703, allocations: 195.7 kB / 445.8 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1704, allocations: 0 / 445.8 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1705, allocations: 100.6 kB / 445.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.1714, allocations: 51.75 kB / 446 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.173, allocations: 0.9786 MB / 447 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.1734, allocations: 0.7521 MB / 447.7 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1735, allocations: 30.28 kB / 447.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.1736, allocations: 23.44 kB / 447.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1736, allocations: 4 kB / 447.8 MB, free: 5.59 MB / 382.1 MB Notification: Performance of Templates: time 0.00533/0.1789, allocations: 2.076 MB / 449.9 MB, free: 3.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe 2>&1)