Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 123.9 kB / 18.46 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001439, allocations: 205.8 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 251.6 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 46.17 MB / 351.1 MB, free: 14.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003188/0.003188, allocations: 82.17 kB / 490.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1542, allocations: 62.45 MB / 0.5397 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004925/0.1592, allocations: 3.149 MB / 0.5427 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1614, allocations: 1.067 MB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1616, allocations: 7.938 kB / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.1618, allocations: 63.38 kB / 0.5438 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1621, allocations: 126.8 kB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.1627, allocations: 175.6 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.1632, allocations: 469.8 kB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.1634, allocations: 123.5 kB / 0.5447 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.1636, allocations: 159.4 kB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1639, allocations: 191.1 kB / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.1639, allocations: 32 kB / 0.5451 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1641, allocations: 51.98 kB / 0.5451 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.1642, allocations: 79.69 kB / 0.5452 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.1644, allocations: 199 kB / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.1649, allocations: 458 kB / 0.5458 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1649, allocations: 0 / 0.5458 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.165, allocations: 0 / 0.5458 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.165, allocations: 0 / 0.5458 GB, free: 13.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001155/0.1661, allocations: 0.7014 MB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1662, allocations: 8.031 kB / 0.5465 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.1665, allocations: 68.64 kB / 0.5466 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.1669, allocations: 310.7 kB / 0.5469 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.167, allocations: 21.38 kB / 0.5469 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.167, allocations: 40.38 kB / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.1677, allocations: 367.5 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.1677, allocations: 7.953 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1678, allocations: 16 kB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1678, allocations: 8 kB / 0.5473 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.1683, allocations: 258.2 kB / 0.5476 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1705, allocations: 1.518 MB / 0.549 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.1713, allocations: 415.4 kB / 0.5494 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.1715, allocations: 137.7 kB / 0.5496 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.1715, allocations: 11.92 kB / 0.5496 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1716, allocations: 46.56 kB / 0.5496 GB, free: 9.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.1716, allocations: 0 / 0.5496 GB, free: 9.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003358/0.175, allocations: 1.99 MB / 0.5516 GB, free: 7.441 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1751, allocations: 191.9 kB / 0.5517 GB, free: 7.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1754, allocations: 254.9 kB / 0.552 GB, free: 6.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.1754, allocations: 37.7 kB / 0.552 GB, free: 6.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1756, allocations: 204.7 kB / 0.5522 GB, free: 6.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.1757, allocations: 190.4 kB / 0.5524 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1759, allocations: 98.3 kB / 0.5525 GB, free: 6.418 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1761, allocations: 354.8 kB / 0.5528 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.1763, allocations: 117.2 kB / 0.5529 GB, free: 5.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.1767, allocations: 291.9 kB / 0.5532 GB, free: 5.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.1774, allocations: 445 kB / 0.5537 GB, free: 5.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1774, allocations: 8 kB / 0.5537 GB, free: 5.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000831/0.1782, allocations: 0.4901 MB / 0.5541 GB, free: 4.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1783, allocations: 8.438 kB / 0.5541 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1783, allocations: 4 kB / 0.5541 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.1783, allocations: 12 kB / 0.5542 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.1788, allocations: 147.8 kB / 0.5543 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.1788, allocations: 15.92 kB / 0.5543 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1791, allocations: 19.95 kB / 0.5543 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.1791, allocations: 24 kB / 0.5544 GB, free: 4.344 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0002166/0.1793, allocations: 169.6 kB / 0.5545 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.1795, allocations: 39.77 kB / 0.5546 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1798, allocations: 135.3 kB / 0.5547 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1798, allocations: 4 kB / 0.5547 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.1798, allocations: 11.88 kB / 0.5547 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1798, allocations: 3.984 kB / 0.5547 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.1819, allocations: 1.238 MB / 0.5559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1819, allocations: 8.312 kB / 0.5559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.1824, allocations: 123.9 kB / 0.556 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1825, allocations: 4 kB / 0.556 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.1825, allocations: 16 kB / 0.5561 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.1825, allocations: 7.938 kB / 0.5561 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1825, allocations: 4 kB / 0.5561 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.1837, allocations: 1.013 MB / 0.5571 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.1839, allocations: 108.9 kB / 0.5572 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.1839, allocations: 16 kB / 0.5572 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.1843, allocations: 12 kB / 0.5572 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.1844, allocations: 43.89 kB / 0.5572 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1844, allocations: 16 kB / 0.5572 GB, free: 1.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1846, allocations: 178 kB / 0.5574 GB, free: 1.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1846, allocations: 4.125 kB / 0.5574 GB, free: 1.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006448/0.1853, allocations: 100 kB / 0.5575 GB, free: 0.9219 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0001435/0.1854, allocations: 115.1 kB / 0.5576 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.1861, allocations: 358.6 kB / 0.558 GB, free: 460 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1861, allocations: 0 / 0.558 GB, free: 460 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.1864, allocations: 173.2 kB / 0.5581 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009621/0.1873, allocations: 102.9 kB / 0.5582 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.1897, allocations: 1.484 MB / 0.5597 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.1902, allocations: 0.8157 MB / 0.5605 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.1904, allocations: 43.34 kB / 0.5605 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1905, allocations: 31.44 kB / 0.5606 GB, free: 13.71 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1905, allocations: 4 kB / 0.5606 GB, free: 13.7 MB / 430.1 MB Notification: Performance of Templates: time 0.008743/0.1992, allocations: 3.943 MB / 0.5644 GB, free: 9.793 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.15585797931999]