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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 108.4 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 187.8 kB / 24.36 MB, free: 4.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 253 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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.2294/0.2294, allocations: 44.9 MB / 353.2 MB, free: 11.87 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002135/0.002135, allocations: 67.89 kB / 497.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.389, allocations: 64.29 MB / 0.5484 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00474/0.3937, allocations: 2.809 MB / 0.5511 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.3959, allocations: 0.9624 MB / 0.5521 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.3961, allocations: 9.5 kB / 0.5521 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.3963, allocations: 51.83 kB / 0.5521 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.3965, allocations: 108.7 kB / 0.5522 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.3971, allocations: 148.2 kB / 0.5524 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.3976, allocations: 378.2 kB / 0.5528 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.3978, allocations: 66.52 kB / 0.5528 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.398, allocations: 137.2 kB / 0.5529 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.3983, allocations: 149.5 kB / 0.5531 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.3983, allocations: 25.25 kB / 0.5531 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3985, allocations: 52.98 kB / 0.5532 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.3986, allocations: 69.16 kB / 0.5532 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.3988, allocations: 159.6 kB / 0.5534 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006258/0.3994, allocations: 378.4 kB / 0.5537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3994, allocations: 3.938 kB / 0.5537 GB, free: 9.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3994, allocations: 4 kB / 0.5537 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.3994, allocations: 1.031 kB / 0.5538 GB, free: 9.008 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001215/0.4006, allocations: 0.5573 MB / 0.5543 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4007, allocations: 9.375 kB / 0.5543 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.4009, allocations: 48.77 kB / 0.5543 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.4015, allocations: 221.3 kB / 0.5546 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.4015, allocations: 20.38 kB / 0.5546 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.4016, allocations: 32.59 kB / 0.5546 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.4022, allocations: 306.7 kB / 0.5549 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.4022, allocations: 6.172 kB / 0.5549 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.4023, allocations: 10.25 kB / 0.5549 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.4023, allocations: 8.25 kB / 0.5549 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.4027, allocations: 199.3 kB / 0.5551 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.4049, allocations: 1.252 MB / 0.5563 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.4055, allocations: 312.2 kB / 0.5566 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.4057, allocations: 103.1 kB / 0.5567 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.4057, allocations: 4.281 kB / 0.5567 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4057, allocations: 41.59 kB / 0.5568 GB, free: 6.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/0.4057, allocations: 0 / 0.5568 GB, free: 6.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002571/0.4083, allocations: 1.208 MB / 0.558 GB, free: 5.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.4084, allocations: 174.1 kB / 0.5581 GB, free: 5.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.4087, allocations: 220.9 kB / 0.5583 GB, free: 4.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.4087, allocations: 33.7 kB / 0.5584 GB, free: 4.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4088, allocations: 180.5 kB / 0.5585 GB, free: 4.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.409, allocations: 162.6 kB / 0.5587 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.4091, allocations: 82.16 kB / 0.5588 GB, free: 4.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.4093, allocations: 346.8 kB / 0.5591 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.4095, allocations: 88.95 kB / 0.5592 GB, free: 3.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.4098, allocations: 252.6 kB / 0.5594 GB, free: 3.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.4103, allocations: 374.9 kB / 0.5598 GB, free: 3.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4103, allocations: 0 / 0.5598 GB, free: 3.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000661/0.411, allocations: 413 kB / 0.5602 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.411, allocations: 8 kB / 0.5602 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.411, allocations: 4 kB / 0.5602 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.411, allocations: 8 kB / 0.5602 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.4114, allocations: 127.7 kB / 0.5603 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.4114, allocations: 11.94 kB / 0.5603 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.4116, allocations: 19.95 kB / 0.5604 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4117, allocations: 20 kB / 0.5604 GB, free: 2.641 MB / 398.1 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 0.0001774/0.4118, allocations: 165.8 kB / 0.5605 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.412, allocations: 35.8 kB / 0.5606 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.4122, allocations: 115.3 kB / 0.5607 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4122, allocations: 7.938 kB / 0.5607 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4122, allocations: 4 kB / 0.5607 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4122, allocations: 3.984 kB / 0.5607 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.4138, allocations: 1.001 MB / 0.5617 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4138, allocations: 4.25 kB / 0.5617 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.4143, allocations: 99.89 kB / 0.5618 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4143, allocations: 4 kB / 0.5618 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.4143, allocations: 12 kB / 0.5618 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.4143, allocations: 7.984 kB / 0.5618 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4143, allocations: 7.938 kB / 0.5618 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.4152, allocations: 0.8268 MB / 0.5626 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.4152, allocations: 27.81 kB / 0.5626 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.4153, allocations: 16.22 kB / 0.5626 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.4156, allocations: 8 kB / 0.5627 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.4156, allocations: 35.83 kB / 0.5627 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.4157, allocations: 19.98 kB / 0.5627 GB, free: 100 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.4159, allocations: 156.5 kB / 0.5629 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4159, allocations: 4 kB / 0.5629 GB, free: 15.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006029/0.4165, allocations: 84.11 kB / 0.5629 GB, free: 15.86 MB / 414.1 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 0.0001646/0.4166, allocations: 111.1 kB / 0.563 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.4171, allocations: 264.9 kB / 0.5633 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.4172, allocations: 8.125 kB / 0.5633 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.4173, allocations: 128 kB / 0.5634 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.4182, allocations: 68.91 kB / 0.5635 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.4203, allocations: 1.26 MB / 0.5647 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.4208, allocations: 0.7841 MB / 0.5655 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.4209, allocations: 43.25 kB / 0.5655 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.421, allocations: 27.44 kB / 0.5656 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.421, allocations: 0 / 0.5656 GB, free: 13.08 MB / 414.1 MB Notification: Performance of Templates: time 0.00808/0.4291, allocations: 3.444 MB / 0.5689 GB, free: 9.672 MB / 414.1 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.291030094027519]