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.001486/0.001486, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.001609/0.001609, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9934/0.9934, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.3157/0.3157, allocations: 34.26 MB / 296.1 MB, free: 0.7422 MB / 266.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 1.613e-06/1.613e-06, allocations: 0 / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.106e-05, allocations: 3.781 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004762/0.004793, allocations: 3.155 MB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.006846, allocations: 1.08 MB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.007012, allocations: 11.94 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.007184, allocations: 67.31 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.007427, allocations: 130.8 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.007854, allocations: 183.4 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.008207, allocations: 485.5 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.008381, allocations: 84.61 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.00869, allocations: 259.4 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.008916, allocations: 143.6 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.00897, allocations: 32 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.009111, allocations: 51.98 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.009181, allocations: 79.72 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.009325, allocations: 139.7 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.009732, allocations: 318.8 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.009735, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009736, allocations: 3.938 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.009742, allocations: 0 / 331.4 MB, free: 1.465 MB / 298.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.0008762/0.01062, allocations: 0.6026 MB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.01065, allocations: 11.97 kB / 332 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.01095, allocations: 84.86 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.01127, allocations: 216.6 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.0113, allocations: 25.38 kB / 332.4 MB, free: 488 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.01136, allocations: 44.31 kB / 332.4 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.01175, allocations: 296.8 kB / 332.7 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.01177, allocations: 8.078 kB / 332.7 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.0118, allocations: 15.94 kB / 332.7 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.01181, allocations: 16 kB / 332.7 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.01204, allocations: 120.7 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.01343, allocations: 1.173 MB / 334 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.0138, allocations: 268.9 kB / 334.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.01391, allocations: 85.11 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.01393, allocations: 8 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.01397, allocations: 58.44 kB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.01397, allocations: 0 / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001841/0.01581, allocations: 1.1 MB / 335.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.01589, allocations: 191.9 kB / 335.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.01639, allocations: 240.9 kB / 336 MB, free: 12.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.01642, allocations: 33.7 kB / 336 MB, free: 12.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.01652, allocations: 189.1 kB / 336.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.01664, allocations: 190.3 kB / 336.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.01676, allocations: 98.25 kB / 336.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01688, allocations: 350.7 kB / 336.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.01697, allocations: 49.28 kB / 336.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.01718, allocations: 231.9 kB / 337.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.01753, allocations: 342.5 kB / 337.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.01754, allocations: 3.938 kB / 337.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004366/0.01798, allocations: 317.3 kB / 337.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01799, allocations: 8 kB / 337.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.018, allocations: 4 kB / 337.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.01803, allocations: 16 kB / 337.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.01848, allocations: 165.1 kB / 337.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.01849, allocations: 12 kB / 337.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.01867, allocations: 20 kB / 337.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.0187, allocations: 23.94 kB / 338 MB, free: 10.32 MB / 314.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.0001219/0.01882, allocations: 153.8 kB / 338.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.01895, allocations: 43.91 kB / 338.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.01911, allocations: 99.38 kB / 338.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.01912, allocations: 8 kB / 338.3 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01912, allocations: 0 / 338.3 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.01913, allocations: 7.984 kB / 338.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.02036, allocations: 0.9059 MB / 339.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.02036, allocations: 7.984 kB / 339.2 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.02083, allocations: 138.8 kB / 339.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.02084, allocations: 8 kB / 339.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.02087, allocations: 12 kB / 339.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.02088, allocations: 11.94 kB / 339.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.02088, allocations: 4.312 kB / 339.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/0.02148, allocations: 0.8205 MB / 340.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.02152, allocations: 31.8 kB / 340.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.02156, allocations: 16.19 kB / 340.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.02191, allocations: 16 kB / 340.2 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.02198, allocations: 47.81 kB / 340.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.022, allocations: 8 kB / 340.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.986e-05/0.02208, allocations: 82.75 kB / 340.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02208, allocations: 0 / 340.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006294/0.02271, allocations: 104 kB / 340.5 MB, free: 7.676 MB / 314.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.0001164/0.02282, allocations: 96.23 kB / 340.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.02318, allocations: 239 kB / 340.8 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.02319, allocations: 8 kB / 340.8 MB, free: 7.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.02335, allocations: 121.5 kB / 340.9 MB, free: 7.211 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/0.02422, allocations: 102.4 kB / 341 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.026, allocations: 0.9353 MB / 342 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.02613, allocations: 110 kB / 342.1 MB, free: 5.988 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.02632, allocations: 51.33 kB / 342.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.02657, allocations: 139.2 kB / 342.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02657, allocations: 0 / 342.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of Templates: time 0.008949/0.03552, allocations: 4.431 MB / 346.7 MB, free: 1.484 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.966117032803595]