Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008491/0.0008491, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.002063, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007578/0.0007578, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001782, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.04/1.04, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/1.149, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3239/0.3239, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0333/0.3572, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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=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_4.1.0_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_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.975e-06/2.975e-06, allocations: 0 / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.702e-05, allocations: 3.188 kB / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.006024/0.006061, allocations: 3.178 MB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.008981, allocations: 1.091 MB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.009371, allocations: 7.938 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.009619, allocations: 67.31 kB / 297.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.01004, allocations: 130.8 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.0108, allocations: 183.4 kB / 297.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000765/0.01156, allocations: 481.6 kB / 297.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.0118, allocations: 76.62 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.01217, allocations: 283.8 kB / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.01239, allocations: 139.6 kB / 298.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.01244, allocations: 32 kB / 298.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.0126, allocations: 51.98 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.01265, allocations: 63.75 kB / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01275, allocations: 115.8 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.01327, allocations: 294.9 kB / 299 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.871e-05/0.01329, allocations: 0 / 299 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.01329, allocations: 0 / 299 MB, free: 40 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.842e-05/0.01332, allocations: 0 / 299 MB, free: 40 kB / 282.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.0009971/0.01432, allocations: 0.6846 MB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.01436, allocations: 8.031 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.01472, allocations: 169.8 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.01505, allocations: 216.7 kB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.01509, allocations: 25.38 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.01515, allocations: 44.31 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.01554, allocations: 304.5 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.01557, allocations: 8.141 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.0156, allocations: 19.94 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.01561, allocations: 8 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.01578, allocations: 119.8 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.01711, allocations: 1.177 MB / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.0175, allocations: 272.4 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.01759, allocations: 85.12 kB / 302.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.01762, allocations: 8 kB / 302.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.01766, allocations: 46.44 kB / 302.1 MB, free: 12.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.617e-06/0.01766, allocations: 4 kB / 302.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.002045/0.01971, allocations: 1.133 MB / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.01982, allocations: 183.9 kB / 303.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.02007, allocations: 240.9 kB / 303.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.0201, allocations: 33.7 kB / 303.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.02022, allocations: 181.2 kB / 303.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.02041, allocations: 186.4 kB / 304.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.02055, allocations: 106.2 kB / 304.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.0207, allocations: 350.7 kB / 304.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.0208, allocations: 49.28 kB / 304.6 MB, free: 9.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.02103, allocations: 227.9 kB / 304.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.02154, allocations: 355 kB / 305.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.02155, allocations: 7.938 kB / 305.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005193/0.02207, allocations: 308.9 kB / 305.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.0221, allocations: 10 kB / 305.4 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.02211, allocations: 8 kB / 305.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/0.02215, allocations: 8 kB / 305.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.02273, allocations: 177.6 kB / 305.6 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.02275, allocations: 11.94 kB / 305.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.02297, allocations: 27.92 kB / 305.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.023, allocations: 23.94 kB / 305.7 MB, free: 8.668 MB / 298.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 0.0001573/0.02316, allocations: 145.7 kB / 305.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.0233, allocations: 35.97 kB / 305.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.02348, allocations: 107.4 kB / 306 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.02349, allocations: 8 kB / 306 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.0235, allocations: 0 / 306 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.02351, allocations: 7.984 kB / 306 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.02517, allocations: 0.8903 MB / 306.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.02518, allocations: 7.938 kB / 306.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.02568, allocations: 150.6 kB / 307 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.02575, allocations: 39.73 kB / 307.1 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.02577, allocations: 4 kB / 307.1 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.0258, allocations: 12 kB / 307.1 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/0.02581, allocations: 11.94 kB / 307.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.02582, allocations: 4 kB / 307.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.02974, allocations: 0.823 MB / 307.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.02984, allocations: 20.17 kB / 308 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.03036, allocations: 16 kB / 308 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.03046, allocations: 39.88 kB / 308 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.03049, allocations: 12 kB / 308 MB, free: 6.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.03062, allocations: 86.75 kB / 308.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03062, allocations: 0 / 308.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008066/0.03143, allocations: 96 kB / 308.2 MB, free: 6.039 MB / 298.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 0.0001895/0.03161, allocations: 104.2 kB / 308.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.03214, allocations: 253.9 kB / 308.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.139e-05/0.03217, allocations: 5.312 kB / 308.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.03241, allocations: 150.1 kB / 308.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.03374, allocations: 0.8327 MB / 309.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.03619, allocations: 0.8816 MB / 310.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.03629, allocations: 114 kB / 310.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.03644, allocations: 47.39 kB / 310.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.03664, allocations: 139.3 kB / 310.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of SimCode: time 1.243e-06/0.03664, allocations: 0 / 310.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of Templates: time 0.007662/0.0443, allocations: 4.498 MB / 315.2 MB, free: 14.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0683322669938207]