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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008092/0.0008092, allocations: 95.03 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009255/0.0009257, allocations: 195 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2398/0.2398, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.000456, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 63.57 MB / 482.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003744/0.1635, allocations: 2.686 MB / 485.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1656, allocations: 1.017 MB / 486.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.166, allocations: 8 kB / 486.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.1662, allocations: 51.56 kB / 486.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.1666, allocations: 99.16 kB / 486.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.1673, allocations: 135.7 kB / 486.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.1679, allocations: 422 kB / 486.8 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1681, allocations: 103.9 kB / 486.9 MB, free: 4 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.1685, allocations: 147.4 kB / 487 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.1688, allocations: 167.2 kB / 487.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.1688, allocations: 20 kB / 487.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.169, allocations: 35.98 kB / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.1691, allocations: 63.75 kB / 487.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1692, allocations: 97.45 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.1695, allocations: 315.4 kB / 487.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1696, allocations: 0 / 487.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1696, allocations: 4 kB / 487.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.1696, allocations: 0 / 487.7 MB, free: 15.16 MB / 366.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.001267/0.1709, allocations: 0.6355 MB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1709, allocations: 12.03 kB / 488.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.1713, allocations: 67.41 kB / 488.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1718, allocations: 285.4 kB / 488.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.1718, allocations: 29 kB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.1719, allocations: 43.98 kB / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.1725, allocations: 355.5 kB / 489.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.1726, allocations: 11.89 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1726, allocations: 16 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1726, allocations: 12 kB / 489.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.1732, allocations: 247.8 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.1754, allocations: 1.525 MB / 490.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.1762, allocations: 423.6 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.1765, allocations: 133.1 kB / 491.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1765, allocations: 4 kB / 491.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1766, allocations: 50.48 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.1766, allocations: 0 / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.00341/0.18, allocations: 1.977 MB / 493.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1801, allocations: 187.9 kB / 493.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.1804, allocations: 251 kB / 494 MB, free: 8.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.1805, allocations: 37.7 kB / 494 MB, free: 8.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1807, allocations: 196.3 kB / 494.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.1808, allocations: 185.3 kB / 494.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.1809, allocations: 16 kB / 494.4 MB, free: 7.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.181, allocations: 350.8 kB / 494.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.1813, allocations: 117.3 kB / 494.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.1817, allocations: 291.9 kB / 495.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.182, allocations: 180.2 kB / 495.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1821, allocations: 0 / 495.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008239/0.1829, allocations: 497.2 kB / 495.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.1829, allocations: 8 kB / 495.8 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.183, allocations: 4 kB / 495.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.61e-05/0.183, allocations: 12 kB / 495.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.1835, allocations: 139.8 kB / 495.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/0.1835, allocations: 15.94 kB / 496 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.1838, allocations: 27.95 kB / 496 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.1839, allocations: 24 kB / 496 MB, free: 6.164 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.1841, allocations: 173.8 kB / 496.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.1843, allocations: 35.62 kB / 496.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1845, allocations: 131.3 kB / 496.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1845, allocations: 4 kB / 496.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1845, allocations: 4 kB / 496.3 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1846, allocations: 0 / 496.3 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.1866, allocations: 1.253 MB / 497.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.1866, allocations: 11.89 kB / 497.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.1872, allocations: 119.8 kB / 497.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.1872, allocations: 8.312 kB / 497.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.1872, allocations: 20 kB / 497.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.1873, allocations: 7.984 kB / 497.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.1873, allocations: 7.938 kB / 497.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.1885, allocations: 1.005 MB / 498.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1886, allocations: 120.7 kB / 498.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.1887, allocations: 12 kB / 498.9 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.1891, allocations: 20.17 kB / 498.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.1892, allocations: 43.84 kB / 499 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.1892, allocations: 20 kB / 499 MB, free: 2.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1894, allocations: 182 kB / 499.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1894, allocations: 0 / 499.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007097/0.1901, allocations: 96 kB / 499.3 MB, free: 2.723 MB / 366.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 (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.0001613/0.1903, allocations: 115 kB / 499.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.191, allocations: 342.5 kB / 499.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.191, allocations: 0.875 kB / 499.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.1913, allocations: 171.8 kB / 499.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.1923, allocations: 77.22 kB / 500 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.1954, allocations: 1.775 MB / 0.49 GB, free: 180 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.1961, allocations: 0.8166 MB / 0.4908 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.1963, allocations: 43.34 kB / 0.4908 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1964, allocations: 39.42 kB / 0.4908 GB, free: 15.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1965, allocations: 0 / 0.4908 GB, free: 15.25 MB / 382.1 MB Notification: Performance of Templates: time 0.009652/0.2061, allocations: 3.503 MB / 0.4943 GB, free: 11.78 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (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) 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) Reference file matches