Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.00114/0.00114, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001238/0.001238, allocations: 168.1 kB / 24.91 MB, free: 8.707 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.9463/0.9463, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2484/0.2484, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.815e-05, allocations: 5.578 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002272/0.00229, allocations: 2.137 MB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.003037, allocations: 0.6086 MB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.00311, allocations: 4 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.744e-05/0.003207, allocations: 19.78 kB / 328.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.003284, allocations: 35.64 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.00352, allocations: 87.69 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.003682, allocations: 191.2 kB / 328.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.003776, allocations: 35.92 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.003936, allocations: 119.8 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.004049, allocations: 59.86 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.004072, allocations: 12 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.00413, allocations: 16 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.004159, allocations: 43.81 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.004201, allocations: 51.91 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.004367, allocations: 135.4 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004369, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004369, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004373, allocations: 4 kB / 328.8 MB, free: 4.098 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004067/0.00478, allocations: 361.8 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.004809, allocations: 8.031 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.004907, allocations: 32.91 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.005054, allocations: 141.1 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.005063, allocations: 8.609 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.005087, allocations: 16.38 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.005278, allocations: 199.6 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.005288, allocations: 3.938 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.0053, allocations: 8 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005306, allocations: 3.984 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.225e-05/0.005378, allocations: 43.92 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.005814, allocations: 495.4 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.005926, allocations: 79.36 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.00596, allocations: 28.84 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.005977, allocations: 4 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.005996, allocations: 34.56 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.005997, allocations: 0 / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004227/0.00642, allocations: 223.9 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.006444, allocations: 63.39 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.006518, allocations: 153.8 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.006533, allocations: 33.64 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.006644, allocations: 116.3 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.006676, allocations: 71.39 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.00672, allocations: 37.69 kB / 331 MB, free: 1.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.00679, allocations: 326.8 kB / 331.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.006818, allocations: 20 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.006863, allocations: 55.39 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.006953, allocations: 95.25 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006954, allocations: 0 / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001164/0.007071, allocations: 116.3 kB / 331.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007083, allocations: 11.98 kB / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.007088, allocations: 0 / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.007098, allocations: 0 / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.007274, allocations: 56 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.00728, allocations: 7.984 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.00733, allocations: 8 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.007342, allocations: 4 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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 6.19e-05/0.007404, allocations: 125.7 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.007429, allocations: 11.98 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.007454, allocations: 25.11 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007456, allocations: 0 / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.007457, allocations: 0 / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.007459, allocations: 0 / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.007785, allocations: 366 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.007787, allocations: 4 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.007911, allocations: 51.89 kB / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007913, allocations: 0 / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.007921, allocations: 4 kB / 332.2 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007922, allocations: 0 / 332.2 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.007924, allocations: 3.938 kB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.008057, allocations: 207.4 kB / 332.4 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.008089, allocations: 15.91 kB / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.008103, allocations: 4 kB / 332.4 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.008175, allocations: 7.984 kB / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.008227, allocations: 31.78 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.008238, allocations: 4 kB / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of sorting global known variables: time 2.658e-05/0.008264, allocations: 35.05 kB / 332.5 MB, free: 156 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008264, allocations: 0 / 332.5 MB, free: 156 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.008404, allocations: 36 kB / 332.6 MB, free: 120 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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.0002485/0.008653, allocations: 84.42 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.008787, allocations: 95.45 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.008791, allocations: 0 / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.008845, allocations: 52.77 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.009005, allocations: 16 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.009677, allocations: 369.5 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.009721, allocations: 72.56 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.009823, allocations: 25.47 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.009946, allocations: 91.34 kB / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009947, allocations: 0 / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Templates: time 0.003402/0.01335, allocations: 2.146 MB / 335.5 MB, free: 13.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.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.684846858959645]