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.0007827/0.0007827, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.0009201/0.0009201, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9863/0.9863, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.1376/0.1376, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.843e-06/1.843e-06, allocations: 0 / 348.1 MB, free: 9.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.945e-05, allocations: 2.312 kB / 348.1 MB, free: 9.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004159/0.004188, allocations: 2.752 MB / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.00647, allocations: 0.9666 MB / 351.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.006781, allocations: 11.94 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.007021, allocations: 63.38 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.007285, allocations: 111 kB / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.007847, allocations: 151.5 kB / 352.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.00826, allocations: 394 kB / 352.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.008452, allocations: 61.39 kB / 352.6 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.008719, allocations: 211.5 kB / 352.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.008897, allocations: 107.7 kB / 352.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.008944, allocations: 28 kB / 352.9 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.009054, allocations: 43.98 kB / 353 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.009099, allocations: 63.73 kB / 353 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.0092, allocations: 119.7 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.009528, allocations: 258.9 kB / 353.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.009532, allocations: 0 / 353.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.009533, allocations: 4 kB / 353.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.009539, allocations: 4 kB / 353.4 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.0007392/0.01028, allocations: 0.6595 MB / 354.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.01033, allocations: 12.03 kB / 354.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.01058, allocations: 76.69 kB / 354.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.01085, allocations: 220 kB / 354.4 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.01087, allocations: 21.03 kB / 354.4 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.01092, allocations: 40.3 kB / 354.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.01119, allocations: 245.4 kB / 354.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.01121, allocations: 8.125 kB / 354.7 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.01123, allocations: 23.94 kB / 354.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.01124, allocations: 4 kB / 354.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.01141, allocations: 107.8 kB / 354.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.01268, allocations: 1.309 MB / 356.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.01306, allocations: 287.7 kB / 356.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.01315, allocations: 102.3 kB / 356.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.01318, allocations: 8 kB / 356.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.01321, allocations: 45.39 kB / 356.5 MB, free: 480 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.925e-06/0.01322, allocations: 0 / 356.5 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001664/0.01488, allocations: 0.9486 MB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.01496, allocations: 166.2 kB / 357.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.01516, allocations: 264.1 kB / 357.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.01519, allocations: 33.7 kB / 357.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.01532, allocations: 227.2 kB / 358.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.01544, allocations: 150.7 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.01556, allocations: 103.8 kB / 358.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.01576, allocations: 0.5195 MB / 358.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.01586, allocations: 40.97 kB / 359 MB, free: 13.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.01609, allocations: 250.3 kB / 359.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.01646, allocations: 346.4 kB / 359.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01647, allocations: 3.938 kB / 359.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004744/0.01694, allocations: 333.1 kB / 359.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.01697, allocations: 8 kB / 359.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.01698, allocations: 7.984 kB / 359.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.017, allocations: 8 kB / 359.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.01733, allocations: 115.8 kB / 360 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.01734, allocations: 8 kB / 360 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.01751, allocations: 19.94 kB / 360.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.01753, allocations: 12 kB / 360.1 MB, free: 12.55 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.0001458/0.01768, allocations: 192.4 kB / 360.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.01781, allocations: 43.81 kB / 360.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.01802, allocations: 107.5 kB / 360.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.01803, allocations: 4.234 kB / 360.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01803, allocations: 0 / 360.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.01804, allocations: 11.97 kB / 360.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.01948, allocations: 1.024 MB / 361.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.01948, allocations: 0 / 361.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.01985, allocations: 103.8 kB / 361.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.01986, allocations: 4 kB / 361.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.01989, allocations: 11.94 kB / 361.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.0199, allocations: 11.94 kB / 361.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01991, allocations: 0 / 361.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.02079, allocations: 0.9814 MB / 362.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.02084, allocations: 31.75 kB / 362.6 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.02088, allocations: 19.97 kB / 362.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.02117, allocations: 15.98 kB / 362.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.02122, allocations: 31.89 kB / 362.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.02124, allocations: 8 kB / 362.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.02136, allocations: 177.1 kB / 362.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02136, allocations: 4 kB / 362.8 MB, free: 9.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.02201, allocations: 83.94 kB / 362.9 MB, free: 9.543 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.0001363/0.02215, allocations: 111.2 kB / 363 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.0225, allocations: 216.3 kB / 363.2 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02251, allocations: 0 / 363.2 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.02265, allocations: 108.4 kB / 363.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009383/0.02358, allocations: 74.33 kB / 363.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.02516, allocations: 1.028 MB / 364.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.725e-05/0.02525, allocations: 101.1 kB / 364.5 MB, free: 7.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.02538, allocations: 39.28 kB / 364.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.02553, allocations: 134.2 kB / 364.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02553, allocations: 0 / 364.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of Templates: time 0.006374/0.0319, allocations: 3.389 MB / 368.1 MB, free: 4.305 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.0825712960213423]