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.0009748/0.0009748, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008301/0.0008301, allocations: 170 kB / 23.95 MB, free: 0.6172 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.879/0.879, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.2332/0.2332, allocations: 32.78 MB / 293.5 MB, free: 1.23 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.221e-05, allocations: 4.391 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002615/0.002637, allocations: 2.012 MB / 441.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.003466, allocations: 0.5726 MB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.003563, allocations: 7.938 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.003664, allocations: 19.73 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.003753, allocations: 39.69 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.004104, allocations: 91.75 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.004304, allocations: 183.2 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.004436, allocations: 29.78 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.004634, allocations: 123.6 kB / 442.7 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.004751, allocations: 63.84 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.004775, allocations: 12 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.004829, allocations: 16 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.004858, allocations: 39.83 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.004905, allocations: 47.91 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.005119, allocations: 195.4 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005121, allocations: 4 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005123, allocations: 0 / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.005128, allocations: 0 / 443 MB, free: 0.8047 MB / 410.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.000606/0.005734, allocations: 385.8 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.005787, allocations: 8.031 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.005834, allocations: 42.75 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.005959, allocations: 32.83 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.006197, allocations: 154 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.006209, allocations: 12.61 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.006233, allocations: 12.38 kB / 443.7 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.19/0.1962, allocations: 206.6 kB / 443.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1962, allocations: 4.859 kB / 443.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1962, allocations: 6.469 kB / 443.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1963, allocations: 2.562 kB / 443.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.1965, allocations: 110.2 kB / 444 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.1972, allocations: 0.6148 MB / 444.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1975, allocations: 127.4 kB / 444.7 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.1975, allocations: 71 kB / 444.8 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1976, allocations: 2.594 kB / 444.8 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1976, allocations: 35.34 kB / 444.8 MB, free: 46.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.1976, allocations: 0 / 444.8 MB, free: 46.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008289/0.1984, allocations: 399.9 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.1984, allocations: 58.25 kB / 445.3 MB, free: 45.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.1985, allocations: 162.6 kB / 445.4 MB, free: 45.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1985, allocations: 32.08 kB / 445.5 MB, free: 45.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.1986, allocations: 115.1 kB / 445.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1986, allocations: 68.55 kB / 445.6 MB, free: 45.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.1987, allocations: 41.48 kB / 445.7 MB, free: 45.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.1987, allocations: 328.6 kB / 446 MB, free: 45.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.1988, allocations: 66.75 kB / 446.1 MB, free: 45.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1989, allocations: 103.7 kB / 446.2 MB, free: 45.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1991, allocations: 169.5 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1991, allocations: 0 / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002465/0.1993, allocations: 224.8 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1994, allocations: 2.969 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1994, allocations: 2.938 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1994, allocations: 2.625 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1995, allocations: 58.11 kB / 446.6 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1996, allocations: 3.875 kB / 446.6 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.1996, allocations: 11.81 kB / 446.6 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1996, allocations: 6.938 kB / 446.6 MB, free: 45 MB / 410.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.235e-05/0.1997, allocations: 133.8 kB / 446.8 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1997, allocations: 17.53 kB / 446.8 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.1997, allocations: 20 kB / 446.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1997, allocations: 0 / 446.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.1998, allocations: 9.625 kB / 446.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1998, allocations: 3.234 kB / 446.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.2003, allocations: 0.5637 MB / 447.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2003, allocations: 3.125 kB / 447.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2004, allocations: 39.83 kB / 447.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2004, allocations: 0 / 447.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2004, allocations: 7.328 kB / 447.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2004, allocations: 2.844 kB / 447.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2004, allocations: 2.906 kB / 447.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.2007, allocations: 314 kB / 447.8 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.2007, allocations: 27.73 kB / 447.8 MB, free: 44.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.2007, allocations: 6.781 kB / 447.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.2008, allocations: 13.8 kB / 447.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.2009, allocations: 15.34 kB / 447.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2009, allocations: 9.812 kB / 447.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.2009, allocations: 113.6 kB / 447.9 MB, free: 44.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2009, allocations: 0 / 447.9 MB, free: 44.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.2011, allocations: 42.59 kB / 448 MB, free: 44.11 MB / 410.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.0003924/0.2015, allocations: 0.8308 MB / 448.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.2018, allocations: 164.7 kB / 449 MB, free: 43.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2018, allocations: 2.719 kB / 449 MB, free: 43.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.2019, allocations: 83.75 kB / 449.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2021, allocations: 20.19 kB / 449.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2036, allocations: 2.029 MB / 451.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.2036, allocations: 104 kB / 451.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.2037, allocations: 30.33 kB / 451.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.2038, allocations: 43.73 kB / 451.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2038, allocations: 0 / 451.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.2194, allocations: 4.479 MB / 455.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.965, allocations: 7.281 kB / 455.8 MB, free: 40.6 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199601 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv","/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.csv. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.f in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.f from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.T in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.T from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.V in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.V from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.v_rel in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.v_rel from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.press in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.press from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.028345911763608]