Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00124/0.00124, allocations: 91.33 kB / 20.43 MB, free: 4.164 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.001393/0.001393, allocations: 169 kB / 23.8 MB, free: 0.7969 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9385/0.9385, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1279/0.1279, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 3.938 kB / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.672e-05, allocations: 17.34 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004468/0.004504, allocations: 2.772 MB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.006625, allocations: 0.9783 MB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.006916, allocations: 7.938 kB / 351.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.007145, allocations: 59.39 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.007457, allocations: 119 kB / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.008118, allocations: 143.5 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.008629, allocations: 398 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.008842, allocations: 53.41 kB / 352.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.009189, allocations: 215.5 kB / 352.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.009391, allocations: 107.7 kB / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.009439, allocations: 28 kB / 352.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.009574, allocations: 43.98 kB / 352.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.009628, allocations: 71.73 kB / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.009745, allocations: 111.7 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.01015, allocations: 267 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01016, allocations: 0 / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01016, allocations: 3.938 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.01017, allocations: 0 / 353 MB, free: 4.102 MB / 282.7 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.0009397/0.01111, allocations: 0.6557 MB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.01115, allocations: 8.031 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.01145, allocations: 80.67 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.01176, allocations: 216 kB / 353.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.01179, allocations: 25.03 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.01185, allocations: 32.33 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.0123, allocations: 265.4 kB / 354.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.01234, allocations: 8.125 kB / 354.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.01237, allocations: 19.92 kB / 354.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.01238, allocations: 8 kB / 354.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.01271, allocations: 127.8 kB / 354.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.01424, allocations: 1.347 MB / 355.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.01472, allocations: 299.3 kB / 356.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.01485, allocations: 106.3 kB / 356.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.01488, allocations: 4.328 kB / 356.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.01491, allocations: 45.39 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.825e-06/0.01491, allocations: 3.938 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.002255/0.01717, allocations: 1.151 MB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.01726, allocations: 174.1 kB / 357.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.01752, allocations: 264.2 kB / 357.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.01755, allocations: 33.7 kB / 357.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.01769, allocations: 219.3 kB / 358 MB, free: 14.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.01782, allocations: 162.7 kB / 358.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.01796, allocations: 87.81 kB / 358.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.01813, allocations: 0.5117 MB / 358.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.0183, allocations: 60.95 kB / 358.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.01857, allocations: 258.3 kB / 359.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.01904, allocations: 362.3 kB / 359.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.01905, allocations: 8 kB / 359.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006711/0.01972, allocations: 364.8 kB / 359.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.01975, allocations: 4 kB / 359.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.01978, allocations: 8 kB / 359.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.525e-05/0.01982, allocations: 4 kB / 359.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.02024, allocations: 116.2 kB / 359.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.02026, allocations: 15.98 kB / 360 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.02048, allocations: 19.94 kB / 360 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.02051, allocations: 20 kB / 360 MB, free: 12.41 MB / 298.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 0.0001675/0.02068, allocations: 188.4 kB / 360.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.02083, allocations: 47.75 kB / 360.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.02108, allocations: 111.4 kB / 360.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.02109, allocations: 8 kB / 360.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.0211, allocations: 0 / 360.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.02111, allocations: 3.984 kB / 360.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.02271, allocations: 1.078 MB / 361.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.02272, allocations: 4 kB / 361.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.02313, allocations: 91.89 kB / 361.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.02314, allocations: 7.938 kB / 361.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.02318, allocations: 16.25 kB / 361.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.02319, allocations: 11.94 kB / 361.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.02319, allocations: 4 kB / 361.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.02416, allocations: 0.9888 MB / 362.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.02422, allocations: 39.66 kB / 362.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.02427, allocations: 12 kB / 362.6 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.02459, allocations: 8 kB / 362.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.02466, allocations: 35.89 kB / 362.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.02469, allocations: 19.92 kB / 362.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.02484, allocations: 189.1 kB / 362.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.02484, allocations: 0 / 362.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007014/0.02554, allocations: 80 kB / 362.9 MB, free: 9.316 MB / 298.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 0.0001642/0.0257, allocations: 109.6 kB / 363 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.02622, allocations: 233.9 kB / 363.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.02622, allocations: 4.062 kB / 363.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.02641, allocations: 124.7 kB / 363.4 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.02737, allocations: 72.97 kB / 363.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.02962, allocations: 1.029 MB / 364.5 MB, free: 7.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.02977, allocations: 101.1 kB / 364.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.02999, allocations: 43.25 kB / 364.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.03008, allocations: 28.5 kB / 364.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of SimCode: time 2.695e-06/0.03009, allocations: 0 / 364.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of Templates: time 0.008182/0.03827, allocations: 3.122 MB / 367.8 MB, free: 4.402 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2885180632583797]