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.0008894/0.0008894, 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.0009554/0.0009554, 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.9014/0.9014, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2352/0.2352, allocations: 32.79 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.644e-06/1.644e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.87e-05, allocations: 6.844 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002349/0.002368, allocations: 2.016 MB / 441.6 MB, free: 2.207 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.003147, allocations: 0.5726 MB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.00323, allocations: 7.938 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-05/0.003325, allocations: 19.8 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.003412, allocations: 47.62 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.003743, allocations: 79.81 kB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.003934, allocations: 183.2 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.004059, allocations: 29.78 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.004239, allocations: 123.6 kB / 442.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004342, allocations: 59.84 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.004365, allocations: 20 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.36e-05/0.004409, allocations: 19.94 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.004434, allocations: 35.89 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.004476, allocations: 47.91 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.004668, allocations: 191.4 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00467, allocations: 0 / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00467, allocations: 0 / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004674, allocations: 0 / 443 MB, free: 0.7812 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.0004868/0.005161, allocations: 389.8 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.005194, allocations: 12.03 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.005228, allocations: 42.75 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.762e-05/0.005316, allocations: 24.83 kB / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.005501, allocations: 158 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.005511, allocations: 8.609 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.005534, allocations: 12.38 kB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1864/0.1919, allocations: 214.4 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1919, allocations: 10.78 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.192, allocations: 3.062 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.192, allocations: 2.969 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.1922, allocations: 114.3 kB / 444 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.1929, allocations: 0.6096 MB / 444.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1931, allocations: 129.4 kB / 444.7 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.1932, allocations: 66.31 kB / 444.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1932, allocations: 0 / 444.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.1932, allocations: 37.83 kB / 444.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1932, allocations: 4.406 kB / 444.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007977/0.194, allocations: 401.4 kB / 445.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.194, allocations: 56.22 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.1941, allocations: 158.2 kB / 445.4 MB, free: 45.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1941, allocations: 32.77 kB / 445.5 MB, free: 45.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.1942, allocations: 117.1 kB / 445.6 MB, free: 45.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1942, allocations: 67.72 kB / 445.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.1942, allocations: 43 kB / 445.7 MB, free: 45.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.1943, allocations: 332 kB / 446 MB, free: 45.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1944, allocations: 63.55 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1945, allocations: 105.6 kB / 446.2 MB, free: 45.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1947, allocations: 169.2 kB / 446.3 MB, free: 45.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1947, allocations: 0 / 446.3 MB, free: 45.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002685/0.1949, allocations: 226.2 kB / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.195, allocations: 5.406 kB / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.195, allocations: 2.656 kB / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.195, allocations: 0 / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1952, allocations: 51.31 kB / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1952, allocations: 2.625 kB / 446.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.1952, allocations: 20.62 kB / 446.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.1952, allocations: 9.125 kB / 446.7 MB, free: 44.91 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 8.037e-05/0.1953, allocations: 121.9 kB / 446.8 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1953, allocations: 15.72 kB / 446.8 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1954, allocations: 23 kB / 446.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1954, allocations: 2.781 kB / 446.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1954, allocations: 3.938 kB / 446.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1954, allocations: 0 / 446.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.196, allocations: 0.5735 MB / 447.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.196, allocations: 0 / 447.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1961, allocations: 40.73 kB / 447.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1961, allocations: 4.5 kB / 447.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1961, allocations: 4.656 kB / 447.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1961, allocations: 0 / 447.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1961, allocations: 3.094 kB / 447.4 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1964, allocations: 311 kB / 447.7 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1964, allocations: 31.83 kB / 447.8 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.1964, allocations: 7.969 kB / 447.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.1965, allocations: 11.27 kB / 447.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.1966, allocations: 19.48 kB / 447.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1966, allocations: 2.875 kB / 447.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.1966, allocations: 116 kB / 447.9 MB, free: 44.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 4 kB / 447.9 MB, free: 44.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.1968, allocations: 36.19 kB / 448 MB, free: 44.03 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.0003752/0.1972, allocations: 0.8358 MB / 448.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.1974, allocations: 158 kB / 449 MB, free: 43.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1974, allocations: 2.906 kB / 449 MB, free: 43.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.902e-05/0.1975, allocations: 89.55 kB / 449.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1978, allocations: 17.17 kB / 449.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1993, allocations: 2.019 MB / 451.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.114e-05/0.1994, allocations: 104.8 kB / 451.2 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.1995, allocations: 31.33 kB / 451.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.1996, allocations: 47.12 kB / 451.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1996, allocations: 0 / 451.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.2168, allocations: 4.487 MB / 455.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.791, allocations: 3.938 kB / 455.8 MB, free: 40.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 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.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: 8.777907125651836]