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.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.738/1.738, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.4021/0.4021, allocations: 39.94 MB / 309.7 MB, free: 9.301 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.001928/0.001928, allocations: 67.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1646, allocations: 56.87 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00457/0.1693, allocations: 2.246 MB / 436.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1708, allocations: 0.7293 MB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1709, allocations: 4 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1712, allocations: 43.58 kB / 437.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.1713, allocations: 63.42 kB / 437.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.1717, allocations: 107.7 kB / 437.7 MB, free: 492 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.172, allocations: 250.9 kB / 437.9 MB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1722, allocations: 88.05 kB / 438 MB, free: 160 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1724, allocations: 87.72 kB / 438.1 MB, free: 72 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1726, allocations: 107.5 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.1726, allocations: 16 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.1727, allocations: 20 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.1728, allocations: 43.84 kB / 438.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1729, allocations: 115.4 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.1732, allocations: 247 kB / 438.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1732, allocations: 0 / 438.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1732, allocations: 0 / 438.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1733, allocations: 0 / 438.6 MB, free: 15.53 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.0009681/0.1742, allocations: 0.5224 MB / 439.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.1743, allocations: 15.89 kB / 439.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.1744, allocations: 24.66 kB / 439.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1747, allocations: 243.8 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1747, allocations: 12.81 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1748, allocations: 24.38 kB / 439.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.1752, allocations: 226.9 kB / 439.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1752, allocations: 3.906 kB / 439.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1753, allocations: 12 kB / 439.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1753, allocations: 4 kB / 439.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.1756, allocations: 139.8 kB / 439.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.1771, allocations: 0.9888 MB / 440.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.1775, allocations: 230.6 kB / 441 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1776, allocations: 83.36 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1776, allocations: 3.984 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1777, allocations: 34.56 kB / 441.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.1777, allocations: 0 / 441.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001582/0.1793, allocations: 1.011 MB / 442.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.1794, allocations: 136.5 kB / 442.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1796, allocations: 198.5 kB / 442.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1796, allocations: 29.7 kB / 442.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1797, allocations: 148.1 kB / 442.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.599e-05/0.1798, allocations: 110.5 kB / 442.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.1799, allocations: 57.98 kB / 442.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1801, allocations: 338.8 kB / 443.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1802, allocations: 68.66 kB / 443.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.1804, allocations: 187.8 kB / 443.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.1807, allocations: 286.5 kB / 443.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1808, allocations: 4 kB / 443.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004082/0.1812, allocations: 297 kB / 444 MB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1812, allocations: 8 kB / 444 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1812, allocations: 4.109 kB / 444 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.1812, allocations: 16.19 kB / 444 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.1815, allocations: 87.89 kB / 444.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.1816, allocations: 8 kB / 444.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1817, allocations: 11.94 kB / 444.1 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1817, allocations: 16 kB / 444.1 MB, free: 9.426 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.0001375/0.1819, allocations: 145.7 kB / 444.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.182, allocations: 27.72 kB / 444.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.1822, allocations: 111 kB / 444.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1822, allocations: 4 kB / 444.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1822, allocations: 4 kB / 444.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.1822, allocations: 3.938 kB / 444.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1833, allocations: 0.783 MB / 445.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1833, allocations: 4 kB / 445.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.1836, allocations: 67.91 kB / 445.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1836, allocations: 4 kB / 445.3 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1837, allocations: 11.98 kB / 445.3 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1837, allocations: 4 kB / 445.3 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.1837, allocations: 4 kB / 445.3 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.1844, allocations: 0.6237 MB / 445.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.1845, allocations: 100.9 kB / 446 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.1845, allocations: 8 kB / 446 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1847, allocations: 8 kB / 446 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.1848, allocations: 32.03 kB / 446.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1848, allocations: 8 kB / 446.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1849, allocations: 136.2 kB / 446.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1849, allocations: 0 / 446.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.1854, allocations: 64 kB / 446.3 MB, free: 7.129 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.0001358/0.1855, allocations: 107.2 kB / 446.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004049/0.186, allocations: 224.5 kB / 446.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.186, allocations: 0 / 446.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1861, allocations: 88.84 kB / 446.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.187, allocations: 55.72 kB / 446.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1887, allocations: 0.9024 MB / 447.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.1891, allocations: 0.7518 MB / 448.4 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000147/0.1892, allocations: 34.28 kB / 448.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.1893, allocations: 19.44 kB / 448.5 MB, free: 4.875 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1893, allocations: 0 / 448.5 MB, free: 4.875 MB / 382.1 MB Notification: Performance of Templates: time 0.006281/0.1956, allocations: 2.174 MB / 450.6 MB, free: 2.703 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)