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.001158/0.001158, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001135/0.001135, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.3934/0.3934, allocations: 39.99 MB / 310.4 MB, free: 9.754 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.0006325/0.0006328, allocations: 16 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1462, allocations: 57.96 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002657/0.1489, allocations: 1.79 MB / 438.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1504, allocations: 0.691 MB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1507, allocations: 4 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.137e-05/0.1508, allocations: 23.78 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.151, allocations: 83.75 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1514, allocations: 83.64 kB / 439.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.1516, allocations: 187.6 kB / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1518, allocations: 60.44 kB / 439.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.152, allocations: 79.72 kB / 439.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1521, allocations: 99.59 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1522, allocations: 8 kB / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.983e-05/0.1522, allocations: 12 kB / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.1522, allocations: 31.84 kB / 439.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1524, allocations: 69.58 kB / 440 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1526, allocations: 171.7 kB / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1526, allocations: 0 / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1526, allocations: 0 / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1526, allocations: 0 / 440.1 MB, free: 14.91 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.0007738/0.1534, allocations: 0.4949 MB / 440.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1534, allocations: 8.031 kB / 440.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.1535, allocations: 23.72 kB / 440.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1538, allocations: 230.7 kB / 440.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1538, allocations: 16.44 kB / 440.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.1538, allocations: 20 kB / 440.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.1542, allocations: 218.6 kB / 441.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1542, allocations: 3.906 kB / 441.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1542, allocations: 19.94 kB / 441.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1543, allocations: 4 kB / 441.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.1545, allocations: 143.8 kB / 441.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.156, allocations: 0.9847 MB / 442.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.1563, allocations: 222.3 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1563, allocations: 12.42 kB / 442.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1564, allocations: 42.59 kB / 442.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.1564, allocations: 3.938 kB / 442.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001294/0.1577, allocations: 1.011 MB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.1577, allocations: 132.5 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1579, allocations: 190.5 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.158, allocations: 29.7 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.1581, allocations: 152.1 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.1581, allocations: 102.5 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.1582, allocations: 8 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1583, allocations: 338.8 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1584, allocations: 60.72 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1586, allocations: 191.7 kB / 444.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1588, allocations: 100.2 kB / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1588, allocations: 0 / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004218/0.1592, allocations: 304.9 kB / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1593, allocations: 8 kB / 445.2 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1593, allocations: 4 kB / 445.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1593, allocations: 8.312 kB / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.1596, allocations: 91.83 kB / 445.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1596, allocations: 4 kB / 445.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1597, allocations: 12 kB / 445.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1598, allocations: 16 kB / 445.3 MB, free: 9.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.1599, allocations: 145.7 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.16, allocations: 27.67 kB / 445.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1602, allocations: 111 kB / 445.6 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1603, allocations: 8 kB / 445.6 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1603, allocations: 0 / 445.6 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1603, allocations: 0 / 445.6 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.1613, allocations: 0.7828 MB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1614, allocations: 0 / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.1617, allocations: 67.91 kB / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1617, allocations: 4 kB / 446.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1617, allocations: 11.98 kB / 446.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1617, allocations: 4 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1617, allocations: 4 kB / 446.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.1624, allocations: 0.7337 MB / 447.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.1624, allocations: 108.8 kB / 447.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.1625, allocations: 15.95 kB / 447.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1627, allocations: 8 kB / 447.3 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1628, allocations: 19.91 kB / 447.3 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1628, allocations: 12 kB / 447.3 MB, free: 6.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1629, allocations: 140.2 kB / 447.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1629, allocations: 0 / 447.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.1633, allocations: 56 kB / 447.5 MB, free: 6.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.1635, allocations: 115.2 kB / 447.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.1638, allocations: 189 kB / 447.8 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1638, allocations: 3.938 kB / 447.8 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1639, allocations: 96.73 kB / 447.9 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.1645, allocations: 52.34 kB / 448 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.166, allocations: 1.08 MB / 449.1 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1664, allocations: 0.756 MB / 449.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1665, allocations: 30.28 kB / 449.8 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.1666, allocations: 23.44 kB / 449.9 MB, free: 4.371 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1666, allocations: 0 / 449.9 MB, free: 4.371 MB / 382.1 MB Notification: Performance of Templates: time 0.004953/0.1715, allocations: 1.969 MB / 451.8 MB, free: 2.41 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: