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.001386/0.001386, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001/0.001, allocations: 168.5 kB / 24.84 MB, free: 9.297 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.9747/0.9747, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1475/0.1475, allocations: 32.37 MB / 271.5 MB, free: 14.53 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 1.132e-06/1.132e-06, allocations: 0 / 348.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.804e-05, allocations: 4.281 kB / 348.9 MB, free: 9.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002486/0.002504, allocations: 2.745 MB / 351.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003773, allocations: 0.9782 MB / 352.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.003942, allocations: 11.94 kB / 352.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.004119, allocations: 51.5 kB / 352.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.004259, allocations: 107 kB / 352.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.004638, allocations: 147.5 kB / 352.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.004969, allocations: 397.9 kB / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.00515, allocations: 65.39 kB / 353.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.005392, allocations: 207.5 kB / 353.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.005576, allocations: 115.7 kB / 353.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.005622, allocations: 28 kB / 353.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.00571, allocations: 43.98 kB / 353.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.005749, allocations: 63.73 kB / 353.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.00582, allocations: 119.7 kB / 353.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.006056, allocations: 263 kB / 354.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006059, allocations: 0 / 354.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.006059, allocations: 0 / 354.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006064, allocations: 0 / 354.2 MB, free: 3.875 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.0005879/0.006652, allocations: 0.6596 MB / 354.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.006686, allocations: 11.97 kB / 354.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.006871, allocations: 80.69 kB / 354.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.007063, allocations: 216.1 kB / 355.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.00708, allocations: 21.03 kB / 355.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.007121, allocations: 40.27 kB / 355.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.007328, allocations: 245.4 kB / 355.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.007344, allocations: 4.188 kB / 355.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.007361, allocations: 15.92 kB / 355.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.007369, allocations: 8 kB / 355.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.007493, allocations: 107.8 kB / 355.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.008292, allocations: 1.328 MB / 356.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.008524, allocations: 283.7 kB / 357.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.008582, allocations: 94.34 kB / 357.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.008601, allocations: 11.94 kB / 357.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.008616, allocations: 41.39 kB / 357.3 MB, free: 480 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.008618, allocations: 0 / 357.3 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001112/0.00973, allocations: 0.9493 MB / 358.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.009793, allocations: 162.2 kB / 358.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.009932, allocations: 264.1 kB / 358.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.00995, allocations: 33.7 kB / 358.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.01005, allocations: 227.2 kB / 358.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.01013, allocations: 162.6 kB / 359.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.01021, allocations: 91.77 kB / 359.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01036, allocations: 0.5156 MB / 359.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.01042, allocations: 40.95 kB / 359.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01061, allocations: 254.3 kB / 360 MB, free: 13.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.01088, allocations: 353.6 kB / 360.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.01088, allocations: 8 kB / 360.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000309/0.01119, allocations: 317 kB / 360.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.0112, allocations: 8 kB / 360.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01121, allocations: 4 kB / 360.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.01122, allocations: 12.36 kB / 360.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.01143, allocations: 119.8 kB / 360.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.01145, allocations: 11.94 kB / 360.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.01154, allocations: 15.94 kB / 360.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01156, allocations: 20 kB / 360.8 MB, free: 12.54 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.0001021/0.01166, allocations: 192.4 kB / 361 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.01174, allocations: 39.81 kB / 361.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.01187, allocations: 103.4 kB / 361.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.01187, allocations: 8 kB / 361.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.01188, allocations: 3.938 kB / 361.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01188, allocations: 7.984 kB / 361.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008738/0.01276, allocations: 1.024 MB / 362.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.01276, allocations: 8.125 kB / 362.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.0131, allocations: 95.89 kB / 362.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.01311, allocations: 7.984 kB / 362.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.01314, allocations: 20.19 kB / 362.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.01315, allocations: 4.078 kB / 362.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.01315, allocations: 11.92 kB / 362.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/0.01391, allocations: 0.9693 MB / 363.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.01395, allocations: 31.75 kB / 363.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.014, allocations: 15.94 kB / 363.4 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.01427, allocations: 8 kB / 363.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.01432, allocations: 39.88 kB / 363.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.01434, allocations: 12 kB / 363.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.01445, allocations: 181.1 kB / 363.6 MB, free: 9.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01445, allocations: 0 / 363.6 MB, free: 9.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004934/0.01495, allocations: 83.94 kB / 363.7 MB, free: 9.539 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.0001069/0.01505, allocations: 117.9 kB / 363.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.01528, allocations: 201.1 kB / 364 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01528, allocations: 4 kB / 364 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01539, allocations: 116.4 kB / 364.1 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.01593, allocations: 62.56 kB / 364.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.01721, allocations: 1.033 MB / 365.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.927e-05/0.01729, allocations: 109 kB / 365.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.01741, allocations: 43.27 kB / 365.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.01755, allocations: 134.2 kB / 365.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01755, allocations: 0 / 365.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of Templates: time 0.005385/0.02294, allocations: 3.458 MB / 369 MB, free: 4.215 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.0486450577154756]