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.0008917/0.0008917, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001186/0.001186, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9249/0.9249, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2836/0.2836, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.993e-05, allocations: 6.281 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.2016/0.2016, allocations: 1.996 MB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008079/0.2024, allocations: 0.5694 MB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.2025, allocations: 2.688 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.2026, allocations: 21.22 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.2027, allocations: 43.19 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.2032, allocations: 91.27 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.2034, allocations: 187.6 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2036, allocations: 32.28 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.2038, allocations: 117.8 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2039, allocations: 65.48 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.204, allocations: 14.56 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.204, allocations: 14.5 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.2041, allocations: 39.17 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.2041, allocations: 52.89 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.2044, allocations: 191.6 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.2044, allocations: 2.875 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2044, allocations: 2.875 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2044, allocations: 0 / 445.6 MB, free: 42.99 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.0006881/0.2051, allocations: 384.9 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.2052, allocations: 11.09 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.2052, allocations: 47.44 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.2054, allocations: 26.23 kB / 446.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2056, allocations: 149.9 kB / 446.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2056, allocations: 9.797 kB / 446.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.2057, allocations: 12.47 kB / 446.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.206, allocations: 223.9 kB / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.206, allocations: 0 / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.206, allocations: 6.906 kB / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2061, allocations: 2.906 kB / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.2063, allocations: 113.1 kB / 446.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.207, allocations: 0.613 MB / 447.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.2072, allocations: 132.1 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.2073, allocations: 64.27 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2074, allocations: 0.625 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2074, allocations: 33.47 kB / 447.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.2074, allocations: 3.5 kB / 447.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008626/0.2083, allocations: 405.3 kB / 447.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.2083, allocations: 58.22 kB / 447.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2084, allocations: 165.3 kB / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2084, allocations: 29.7 kB / 448.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.2085, allocations: 120.3 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.2085, allocations: 67.19 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.2086, allocations: 40.34 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.2086, allocations: 324.7 kB / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2087, allocations: 67.81 kB / 448.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.2088, allocations: 112.1 kB / 448.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.209, allocations: 166.8 kB / 448.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.209, allocations: 0 / 448.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002583/0.2093, allocations: 224.4 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2093, allocations: 5.875 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2093, allocations: 0 / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2093, allocations: 2.906 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2095, allocations: 53.92 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2095, allocations: 2.844 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.2096, allocations: 14.31 kB / 449.2 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2096, allocations: 13.81 kB / 449.2 MB, free: 40.59 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.345e-05/0.2096, allocations: 126.3 kB / 449.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.2097, allocations: 13.72 kB / 449.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.2097, allocations: 19.97 kB / 449.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2097, allocations: 2.781 kB / 449.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2097, allocations: 0 / 449.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2097, allocations: 6.703 kB / 449.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.2103, allocations: 0.5569 MB / 450 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2103, allocations: 10.05 kB / 450 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.2104, allocations: 37.8 kB / 450 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2104, allocations: 0 / 450 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2104, allocations: 10.09 kB / 450 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2104, allocations: 4.266 kB / 450 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2104, allocations: 3.938 kB / 450 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.2107, allocations: 308 kB / 450.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.2107, allocations: 35.12 kB / 450.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.2107, allocations: 4 kB / 450.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.2108, allocations: 12.2 kB / 450.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.2109, allocations: 13.47 kB / 450.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2109, allocations: 13.34 kB / 450.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.418e-05/0.2109, allocations: 110.6 kB / 450.5 MB, free: 39.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2109, allocations: 0 / 450.5 MB, free: 39.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.2111, allocations: 43.31 kB / 450.6 MB, free: 39.71 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.0004141/0.2115, allocations: 0.8319 MB / 451.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.2118, allocations: 161 kB / 451.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2118, allocations: 0 / 451.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2119, allocations: 84.36 kB / 451.6 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2122, allocations: 21.45 kB / 451.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2137, allocations: 2.022 MB / 453.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.2138, allocations: 103.7 kB / 453.8 MB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.2139, allocations: 29.61 kB / 453.8 MB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.2139, allocations: 47.3 kB / 453.9 MB, free: 37.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2139, allocations: 0 / 453.9 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.2344, allocations: 4.493 MB / 458.3 MB, free: 36.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.105, allocations: 9.797 kB / 458.4 MB, free: 36.16 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.f in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.f from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.T in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.T from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.V in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.V from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.v_rel in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.v_rel from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! Error: Could not read variable gasForce.press in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv. Warning: Get data of variable gasForce.press from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.307699363678694]