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.001472/0.001472, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.009714/0.009714, allocations: 157.9 kB / 24.7 MB, free: 8.906 MB / 18.57 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 0.9547/0.9547, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.275/0.275, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.7 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=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 443.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.029e-05, allocations: 2.281 kB / 443.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.1714/0.1714, allocations: 2.926 MB / 446.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000969/0.1724, allocations: 1.01 MB / 447.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1725, allocations: 13.81 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.1727, allocations: 65.17 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.1728, allocations: 133.4 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.1732, allocations: 180.3 kB / 447.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1734, allocations: 484.8 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1736, allocations: 85.64 kB / 448.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1737, allocations: 253.7 kB / 448.5 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.1739, allocations: 133.7 kB / 448.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1739, allocations: 32.09 kB / 448.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.174, allocations: 63.16 kB / 448.7 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.174, allocations: 75.47 kB / 448.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.1741, allocations: 141.2 kB / 448.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.1745, allocations: 453.7 kB / 449.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1745, allocations: 0 / 449.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1745, allocations: 2.906 kB / 449.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1745, allocations: 0 / 449.4 MB, free: 41.59 MB / 410.7 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.0007629/0.1752, allocations: 0.6208 MB / 450 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1753, allocations: 9.188 kB / 450 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.1755, allocations: 69 kB / 450.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1758, allocations: 236.3 kB / 450.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1758, allocations: 31.75 kB / 450.3 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.1759, allocations: 40.42 kB / 450.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1763, allocations: 360.3 kB / 450.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.1763, allocations: 10.22 kB / 450.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1763, allocations: 18.75 kB / 450.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1763, allocations: 8.625 kB / 450.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.1766, allocations: 245.3 kB / 451 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1776, allocations: 1.356 MB / 452.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.1781, allocations: 399.7 kB / 452.8 MB, free: 39.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1782, allocations: 133.8 kB / 452.9 MB, free: 39.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1782, allocations: 13.59 kB / 452.9 MB, free: 39.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1783, allocations: 44.08 kB / 452.9 MB, free: 39.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.1783, allocations: 0 / 452.9 MB, free: 39.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001674/0.1799, allocations: 1.532 MB / 454.5 MB, free: 38.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.18, allocations: 193 kB / 454.7 MB, free: 37.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1801, allocations: 239.5 kB / 454.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1801, allocations: 40.58 kB / 454.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.1802, allocations: 207.8 kB / 455.1 MB, free: 37.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.1803, allocations: 191 kB / 455.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.1803, allocations: 90.98 kB / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.1804, allocations: 352.5 kB / 455.8 MB, free: 36.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1805, allocations: 116 kB / 455.9 MB, free: 36.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1807, allocations: 302.2 kB / 456.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1811, allocations: 460.5 kB / 456.6 MB, free: 36.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1811, allocations: 0 / 456.6 MB, free: 36.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004496/0.1815, allocations: 496.4 kB / 457.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1815, allocations: 8.219 kB / 457.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1815, allocations: 5.969 kB / 457.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.1816, allocations: 10.61 kB / 457.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.1818, allocations: 146.4 kB / 457.3 MB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1818, allocations: 8.469 kB / 457.3 MB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1819, allocations: 22.59 kB / 457.3 MB, free: 36.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.182, allocations: 28.62 kB / 457.3 MB, free: 36.03 MB / 410.7 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 9.384e-05/0.1821, allocations: 170.9 kB / 457.5 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.1821, allocations: 40.48 kB / 457.5 MB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.1823, allocations: 126.5 kB / 457.7 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1823, allocations: 8.562 kB / 457.7 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1823, allocations: 0 / 457.7 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1823, allocations: 12.84 kB / 457.7 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.1832, allocations: 1.126 MB / 458.8 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1832, allocations: 2.906 kB / 458.8 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.1835, allocations: 116.7 kB / 458.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1835, allocations: 13.56 kB / 458.9 MB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1835, allocations: 13 kB / 459 MB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1835, allocations: 9.531 kB / 459 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1835, allocations: 5.781 kB / 459 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.1841, allocations: 0.996 MB / 460 MB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.1841, allocations: 35.8 kB / 460 MB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.1841, allocations: 21.25 kB / 460 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1843, allocations: 14.41 kB / 460 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1844, allocations: 46.39 kB / 460.1 MB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1844, allocations: 15.84 kB / 460.1 MB, free: 34.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.538e-05/0.1845, allocations: 173.7 kB / 460.3 MB, free: 34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1845, allocations: 0 / 460.3 MB, free: 34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.1849, allocations: 101.9 kB / 460.4 MB, free: 33.98 MB / 410.7 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 9.03e-05/0.1849, allocations: 117.9 kB / 460.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.1853, allocations: 338 kB / 460.8 MB, free: 33.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1853, allocations: 3.938 kB / 460.8 MB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1855, allocations: 165.5 kB / 461 MB, free: 33.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.1861, allocations: 89.17 kB / 461.1 MB, free: 33.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1871, allocations: 1.221 MB / 462.3 MB, free: 32.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.1873, allocations: 206.4 kB / 462.5 MB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1873, allocations: 36.59 kB / 462.5 MB, free: 32.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1873, allocations: 0 / 462.5 MB, free: 32.69 MB / 410.7 MB Notification: Performance of Templates: time 0.004301/0.1916, allocations: 4.952 MB / 467.5 MB, free: 32.15 MB / 410.7 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.1.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.236073310486972]