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.00195/0.00195, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00224/0.00224, allocations: 165.7 kB / 24.26 MB, free: 176 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 1.611/1.611, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3316/0.3316, allocations: 32.81 MB / 293.9 MB, free: 1.203 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 2.835e-06/2.835e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.934e-05/4.218e-05, allocations: 5.547 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00665/0.006692, allocations: 2.023 MB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.008828, allocations: 0.5688 MB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.008987, allocations: 0 / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.009161, allocations: 19.8 kB / 377.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.009342, allocations: 43.58 kB / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.009981, allocations: 87.73 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.01046, allocations: 191.2 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.01066, allocations: 25.8 kB / 378.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00046/0.01112, allocations: 115.8 kB / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.01138, allocations: 63.84 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/0.01144, allocations: 16 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.01155, allocations: 20 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.01161, allocations: 31.89 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.01177, allocations: 59.83 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.01226, allocations: 187.4 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.01227, allocations: 0 / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01227, allocations: 0 / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.01228, allocations: 0 / 378.7 MB, free: 1.492 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.001263/0.01354, allocations: 385.8 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.01359, allocations: 12.03 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.01389, allocations: 36.83 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.01427, allocations: 166 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.01429, allocations: 4.609 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.01436, allocations: 12.38 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006862/0.01504, allocations: 221.8 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.01506, allocations: 7.938 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.01509, allocations: 0 / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.0151, allocations: 4 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.01571, allocations: 111.9 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.01732, allocations: 0.5912 MB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.01798, allocations: 130.5 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.01827, allocations: 60.83 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.01831, allocations: 4 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/0.01837, allocations: 38.56 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.01837, allocations: 0 / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002513/0.02088, allocations: 412.8 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.02095, allocations: 55.41 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.0212, allocations: 146.2 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.02126, allocations: 33.69 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.02143, allocations: 120.4 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.02154, allocations: 63.44 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.02168, allocations: 37.7 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.02194, allocations: 322.8 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.02233, allocations: 71.95 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.02279, allocations: 95.33 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/0.02361, allocations: 179.3 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02361, allocations: 0 / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001051/0.02466, allocations: 223.8 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.02469, allocations: 4 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02469, allocations: 3.938 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.02473, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.02535, allocations: 56.05 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.02536, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.02566, allocations: 15.92 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.02569, allocations: 8 kB / 382.3 MB, free: 13.69 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.0002129/0.02591, allocations: 129.7 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.02602, allocations: 23.91 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.0261, allocations: 21.12 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.02611, allocations: 3.984 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.02611, allocations: 0 / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.02612, allocations: 11.98 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.02811, allocations: 0.5341 MB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.02811, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.02862, allocations: 39.97 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.02863, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.02866, allocations: 7.938 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.02867, allocations: 4 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.02868, allocations: 7.984 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.02978, allocations: 305.9 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.02991, allocations: 19.89 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.02996, allocations: 11.94 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.03036, allocations: 15.98 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.03047, allocations: 15.97 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.03051, allocations: 8 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.03068, allocations: 115.3 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.03068, allocations: 0 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005572/0.03124, allocations: 36 kB / 383.6 MB, free: 12.33 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 0.0002012/0.03144, allocations: 99.19 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.03238, allocations: 164 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.03238, allocations: 0 / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.03285, allocations: 87.88 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.03343, allocations: 20 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.03502, allocations: 350 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.03521, allocations: 112.1 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000294/0.0355, allocations: 21.48 kB / 384.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.03565, allocations: 20.5 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03565, allocations: 4 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of Templates: time 0.0102/0.04585, allocations: 1.959 MB / 386.4 MB, free: 9.492 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",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: 4.935329463914968]