Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001414/0.001414, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001371/0.001371, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9365/0.9365, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2824/0.2824, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.597e-05, allocations: 6.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002598/0.002624, allocations: 2.109 MB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000975/0.003599, allocations: 0.5805 MB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003701, allocations: 3.938 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.003836, allocations: 27.78 kB / 378.8 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.003943, allocations: 43.58 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.004278, allocations: 79.81 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.004477, allocations: 187.2 kB / 379.1 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.004596, allocations: 29.78 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.004794, allocations: 115.8 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.004911, allocations: 71.78 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.004939, allocations: 16 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.004989, allocations: 12 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.005017, allocations: 39.89 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.005068, allocations: 51.83 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.005267, allocations: 127.6 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005271, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005272, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.005278, allocations: 4 kB / 379.5 MB, free: 1.16 MB / 346.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.0005825/0.005861, allocations: 484.1 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.005897, allocations: 12.03 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.006034, allocations: 32.83 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.00625, allocations: 160.9 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.006263, allocations: 8.609 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.006293, allocations: 16.31 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.00655, allocations: 218.9 kB / 380.4 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.006565, allocations: 7.938 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.006583, allocations: 4 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.006593, allocations: 4 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.006713, allocations: 67.89 kB / 380.5 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.00741, allocations: 0.7169 MB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.007593, allocations: 107.1 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.007655, allocations: 47.92 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.007677, allocations: 8 kB / 381.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.007712, allocations: 37.33 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.007714, allocations: 0 / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006446/0.008358, allocations: 281 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.008385, allocations: 59.39 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.008504, allocations: 204.9 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.008524, allocations: 29.7 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.00859, allocations: 167.2 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.008629, allocations: 71.36 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.008687, allocations: 43.36 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.008796, allocations: 0.4962 MB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.008856, allocations: 27.98 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.008929, allocations: 78.59 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.009061, allocations: 121.2 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009063, allocations: 4 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001965/0.009259, allocations: 153.5 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.009275, allocations: 4 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.009281, allocations: 4 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.009295, allocations: 0 / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.009465, allocations: 47.91 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.009472, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.009548, allocations: 15.98 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.009564, allocations: 12.03 kB / 383.2 MB, free: 13.18 MB / 362.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 0.0001172/0.009682, allocations: 172.5 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.009733, allocations: 15.91 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.009777, allocations: 25.11 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.009782, allocations: 4 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.009787, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.009791, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.01034, allocations: 0.5165 MB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01035, allocations: 0 / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.01047, allocations: 43.91 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.01047, allocations: 8 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01049, allocations: 7.938 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01049, allocations: 3.984 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01049, allocations: 0 / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.01073, allocations: 283.8 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.01078, allocations: 31.88 kB / 384.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.0108, allocations: 7.938 kB / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.01088, allocations: 11.98 kB / 384.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.01094, allocations: 19.97 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.01095, allocations: 4 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.761e-05/0.01101, allocations: 153.6 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01101, allocations: 0 / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.01118, allocations: 36 kB / 384.5 MB, free: 11.78 MB / 362.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 9.883e-05/0.01128, allocations: 99.19 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.01149, allocations: 112.1 kB / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0115, allocations: 0 / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.01158, allocations: 67.78 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01182, allocations: 19.98 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.01265, allocations: 362.6 kB / 385.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.0127, allocations: 72.58 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.0128, allocations: 29.47 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.01286, allocations: 20.48 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01286, allocations: 0 / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Templates: time 0.004018/0.01688, allocations: 2.09 MB / 387.4 MB, free: 8.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0847210199572146]