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.001159/0.001159, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001555/0.002715, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009848/0.0009848, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002313, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9226/0.9226, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09463/1.017, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.3264/0.3264, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02864/0.355, allocations: 13.1 MB / 291.5 MB, free: 7.324 MB / 282.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 1.442e-06/1.442e-06, allocations: 0 / 292.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.368e-05, allocations: 3.188 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003808/0.003832, allocations: 2.155 MB / 295 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004948, allocations: 0.5964 MB / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.005052, allocations: 0 / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.956e-05/0.005132, allocations: 19.8 kB / 295.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.005246, allocations: 47.56 kB / 295.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.005545, allocations: 87.75 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.005798, allocations: 191.2 kB / 295.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.005909, allocations: 30.44 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.00616, allocations: 123.8 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.006392, allocations: 63.78 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.006426, allocations: 16 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.006506, allocations: 23.94 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.00654, allocations: 19.94 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.006592, allocations: 43.88 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.006825, allocations: 115.6 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.006837, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006838, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.006848, allocations: 4 kB / 296.4 MB, free: 2.641 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006159/0.007464, allocations: 389.3 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.007497, allocations: 8.625 kB / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.007674, allocations: 102 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.007867, allocations: 150.1 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.00788, allocations: 8.609 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.007917, allocations: 16.36 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.008201, allocations: 198.5 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.008217, allocations: 7.875 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.008235, allocations: 8 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.008242, allocations: 0 / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.008345, allocations: 44.62 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.008932, allocations: 483.5 kB / 297.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.009111, allocations: 84 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.009162, allocations: 32.84 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.009185, allocations: 4.25 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.009211, allocations: 30.56 kB / 297.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.009213, allocations: 0 / 297.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006519/0.009864, allocations: 244.1 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.009894, allocations: 55.39 kB / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.009997, allocations: 150.5 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.01002, allocations: 25.7 kB / 298.4 MB, free: 476 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.01008, allocations: 120.4 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.01013, allocations: 71.41 kB / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.01019, allocations: 37.69 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.0103, allocations: 326.8 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.01035, allocations: 16 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.01042, allocations: 60.14 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.01055, allocations: 91.25 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.01055, allocations: 3.938 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001842/0.01073, allocations: 128 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01075, allocations: 4 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01075, allocations: 0 / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01077, allocations: 8.094 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.01106, allocations: 52.77 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.01106, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.01115, allocations: 8 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01116, allocations: 8 kB / 299.3 MB, free: 15.5 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 8.715e-05/0.01125, allocations: 125.7 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.01129, allocations: 15.98 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.01133, allocations: 21.12 kB / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01133, allocations: 4 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01133, allocations: 0 / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.01134, allocations: 8 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.01186, allocations: 365.6 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01186, allocations: 0 / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.01208, allocations: 47.97 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.01214, allocations: 19.89 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01214, allocations: 0 / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01215, allocations: 7.938 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01215, allocations: 0 / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01216, allocations: 4 kB / 299.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.01236, allocations: 205.1 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.01239, allocations: 8 kB / 300.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.01251, allocations: 11.98 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.01256, allocations: 15.91 kB / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.01258, allocations: 8 kB / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.01262, allocations: 35.88 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01262, allocations: 0 / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.01286, allocations: 44 kB / 300.2 MB, free: 14.52 MB / 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.0001242/0.01298, allocations: 76.41 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01316, allocations: 95.09 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.01317, allocations: 4 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.01327, allocations: 60.73 kB / 300.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01356, allocations: 121.1 kB / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.01574, allocations: 369.7 kB / 300.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.01579, allocations: 68.58 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.01594, allocations: 33.47 kB / 301 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.0161, allocations: 91.31 kB / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01611, allocations: 0 / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.00515/0.02126, allocations: 2.298 MB / 303.4 MB, free: 11.29 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8978679655119777]