Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 87.62 kB / 21.44 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.009327/0.009327, allocations: 161.9 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9018/0.9018, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.258/0.258, allocations: 32.79 MB / 294.2 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 440.8 MB, free: 3.801 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.976e-05, allocations: 6.781 kB / 440.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002883/0.002912, allocations: 2.699 MB / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004153, allocations: 0.9581 MB / 444.5 MB, free: 116 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.004306, allocations: 7.938 kB / 444.5 MB, free: 108 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.004467, allocations: 59.39 kB / 444.5 MB, free: 48 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1571/0.1615, allocations: 99.55 kB / 444.6 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.1621, allocations: 167.1 kB / 444.8 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.1624, allocations: 402.3 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1625, allocations: 59.75 kB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1627, allocations: 216.2 kB / 445.5 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1628, allocations: 109.1 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.1628, allocations: 26.97 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.1629, allocations: 49.59 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.1629, allocations: 66.62 kB / 445.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.163, allocations: 116.5 kB / 445.8 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1632, allocations: 390.4 kB / 446.2 MB, free: 43.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1632, allocations: 2.625 kB / 446.2 MB, free: 43.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1632, allocations: 0.7188 kB / 446.2 MB, free: 43.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1633, allocations: 5.156 kB / 446.2 MB, free: 43.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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0005496/0.1638, allocations: 0.5496 MB / 446.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.1638, allocations: 12.72 kB / 446.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.164, allocations: 63.12 kB / 446.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1642, allocations: 218.9 kB / 447 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1643, allocations: 22.59 kB / 447.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1643, allocations: 33.81 kB / 447.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1646, allocations: 308.1 kB / 447.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1646, allocations: 10.61 kB / 447.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.1646, allocations: 10.59 kB / 447.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1646, allocations: 9.75 kB / 447.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.1648, allocations: 198.5 kB / 447.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.1656, allocations: 1.141 MB / 448.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1659, allocations: 332.1 kB / 449.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.166, allocations: 96.27 kB / 449.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.166, allocations: 6.938 kB / 449.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.166, allocations: 45.81 kB / 449.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.874e-06/0.166, allocations: 0 / 449.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001166/0.1672, allocations: 1.241 MB / 450.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1672, allocations: 161 kB / 450.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.1673, allocations: 223.4 kB / 450.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1673, allocations: 36.61 kB / 450.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1674, allocations: 180 kB / 451.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1674, allocations: 157.2 kB / 451.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.1675, allocations: 84.14 kB / 451.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.1675, allocations: 342.8 kB / 451.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.1676, allocations: 94.02 kB / 451.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1677, allocations: 246.2 kB / 452 MB, free: 39.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.168, allocations: 376.4 kB / 452.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.168, allocations: 3.75 kB / 452.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003208/0.1683, allocations: 415.7 kB / 452.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1683, allocations: 5.688 kB / 452.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1683, allocations: 6.156 kB / 452.8 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1683, allocations: 12.53 kB / 452.8 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1685, allocations: 114.6 kB / 452.9 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1685, allocations: 11.28 kB / 452.9 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-05/0.1686, allocations: 13.53 kB / 452.9 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1686, allocations: 20.22 kB / 452.9 MB, free: 39.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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 7.282e-05/0.1687, allocations: 165.2 kB / 453.1 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1687, allocations: 34.47 kB / 453.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1689, allocations: 118.8 kB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1689, allocations: 5.812 kB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1689, allocations: 6.781 kB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1689, allocations: 3.422 kB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.1696, allocations: 0.9249 MB / 454.2 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1696, allocations: 3.906 kB / 454.2 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.1698, allocations: 99.56 kB / 454.3 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1698, allocations: 6.594 kB / 454.3 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1698, allocations: 18.34 kB / 454.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1698, allocations: 3.469 kB / 454.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1698, allocations: 6.562 kB / 454.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1701, allocations: 0.8206 MB / 455.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.1702, allocations: 37.56 kB / 455.2 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1702, allocations: 10.03 kB / 455.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1703, allocations: 10.25 kB / 455.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.1704, allocations: 39.95 kB / 455.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1704, allocations: 12.52 kB / 455.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.1704, allocations: 163.2 kB / 455.4 MB, free: 37.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1704, allocations: 0 / 455.4 MB, free: 37.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.1708, allocations: 81.91 kB / 455.5 MB, free: 37.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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 6.979e-05/0.1708, allocations: 109.8 kB / 455.6 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.1711, allocations: 276.6 kB / 455.9 MB, free: 37.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1711, allocations: 4.188 kB / 455.9 MB, free: 37.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.1712, allocations: 131 kB / 456 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.1717, allocations: 79.91 kB / 456.1 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.1725, allocations: 1.031 MB / 457.1 MB, free: 36.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.678e-05/0.1726, allocations: 184.2 kB / 457.3 MB, free: 36.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.1727, allocations: 31.06 kB / 457.3 MB, free: 36.59 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1727, allocations: 3.219 kB / 457.3 MB, free: 36.59 MB / 410.7 MB Notification: Performance of Templates: time 0.003144/0.1758, allocations: 4.175 MB / 461.5 MB, free: 36.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.131934268400073]