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.0007852/0.0007853, allocations: 91.84 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.00609/0.00609, allocations: 170 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.776/1.776, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4108/0.4108, allocations: 40 MB / 310.7 MB, free: 9.844 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.0005778/0.0005779, allocations: 19.98 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1472, allocations: 57.96 MB / 437.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002665/0.1499, allocations: 1.945 MB / 439.3 MB, free: 260 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1513, allocations: 0.7021 MB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1515, allocations: 4 kB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1517, allocations: 27.77 kB / 440.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.152, allocations: 67.47 kB / 440.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.1525, allocations: 87.91 kB / 440.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.1528, allocations: 242.8 kB / 440.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.153, allocations: 68.58 kB / 440.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1532, allocations: 83.66 kB / 440.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1533, allocations: 107.5 kB / 440.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.1534, allocations: 8 kB / 440.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/0.1534, allocations: 12 kB / 440.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.1535, allocations: 35.8 kB / 440.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1536, allocations: 133.1 kB / 440.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1539, allocations: 227 kB / 441.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.154, allocations: 0 / 441.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.154, allocations: 0 / 441.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.154, allocations: 3.938 kB / 441.1 MB, free: 14.45 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008567/0.1548, allocations: 491.2 kB / 441.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1549, allocations: 8.031 kB / 441.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.155, allocations: 32.56 kB / 441.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1552, allocations: 243.8 kB / 441.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1553, allocations: 12.81 kB / 441.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.1553, allocations: 24.38 kB / 441.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.1558, allocations: 227 kB / 442.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1558, allocations: 3.906 kB / 442.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1558, allocations: 12 kB / 442.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1559, allocations: 4 kB / 442.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.1561, allocations: 143.8 kB / 442.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.1575, allocations: 0.9885 MB / 443.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.1578, allocations: 230.2 kB / 443.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1579, allocations: 75.42 kB / 443.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.158, allocations: 7.984 kB / 443.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.158, allocations: 34.56 kB / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.158, allocations: 0 / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00132/0.1593, allocations: 1.018 MB / 444.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.1594, allocations: 132.5 kB / 444.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1596, allocations: 194.5 kB / 445 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1597, allocations: 33.7 kB / 445 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/0.1598, allocations: 152 kB / 445.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.1598, allocations: 106.5 kB / 445.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1599, allocations: 37.7 kB / 445.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.16, allocations: 334.8 kB / 445.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1601, allocations: 64.72 kB / 445.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1603, allocations: 183.8 kB / 445.9 MB, free: 9.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1607, allocations: 279.9 kB / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1607, allocations: 4 kB / 446.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004542/0.1611, allocations: 308.9 kB / 446.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1612, allocations: 4 kB / 446.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.1612, allocations: 4 kB / 446.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1612, allocations: 8 kB / 446.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.1615, allocations: 79.91 kB / 446.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.1615, allocations: 16.23 kB / 446.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1616, allocations: 15.94 kB / 446.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1616, allocations: 16 kB / 446.6 MB, free: 8.422 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.0001291/0.1618, allocations: 141.8 kB / 446.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.1619, allocations: 31.59 kB / 446.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.1621, allocations: 111 kB / 446.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1621, allocations: 4 kB / 446.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1621, allocations: 0 / 446.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1621, allocations: 7.938 kB / 446.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1632, allocations: 0.7827 MB / 447.7 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1632, allocations: 8.188 kB / 447.7 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.1635, allocations: 71.91 kB / 447.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1635, allocations: 0 / 447.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1635, allocations: 12 kB / 447.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.1636, allocations: 7.984 kB / 447.8 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1636, allocations: 3.938 kB / 447.8 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.1642, allocations: 0.6244 MB / 448.4 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.1642, allocations: 96.83 kB / 448.5 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1643, allocations: 15.92 kB / 448.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1645, allocations: 12 kB / 448.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1645, allocations: 23.92 kB / 448.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1646, allocations: 11.98 kB / 448.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1647, allocations: 136.2 kB / 448.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1647, allocations: 0 / 448.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004716/0.1652, allocations: 60 kB / 448.7 MB, free: 6.117 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.0001132/0.1653, allocations: 107.3 kB / 448.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.1656, allocations: 204.4 kB / 449 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1657, allocations: 4 kB / 449 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1658, allocations: 88.66 kB / 449.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.1666, allocations: 52.09 kB / 449.2 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1681, allocations: 1.101 MB / 450.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.1686, allocations: 0.7482 MB / 451 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.1688, allocations: 30.28 kB / 451.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.1689, allocations: 23.44 kB / 451.1 MB, free: 3.688 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1689, allocations: 4.094 kB / 451.1 MB, free: 3.684 MB / 382.1 MB Notification: Performance of Templates: time 0.005492/0.1744, allocations: 2.057 MB / 453.1 MB, free: 1.629 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: