Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0008737/0.0008737, 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.001223/0.001223, allocations: 170.3 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.9128/0.9128, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2366/0.2366, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.024e-05, allocations: 3.406 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.1696/0.1697, allocations: 8.013 MB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006314/0.176, allocations: 9.871 MB / 457.4 MB, free: 37.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.176, allocations: 0 / 457.4 MB, free: 37.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1762, allocations: 31.22 kB / 457.5 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.1793, allocations: 1.874 MB / 459.3 MB, free: 36.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.39e-06/0.1793, allocations: 0 / 459.3 MB, free: 36.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.1794, allocations: 54.09 kB / 459.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1795, allocations: 3.156 kB / 459.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1796, allocations: 37.84 kB / 459.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.768e-05/0.1796, allocations: 21.45 kB / 459.5 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1796, allocations: 0 / 459.5 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/0.1842, allocations: 6.587 MB / 466 MB, free: 35.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1843, allocations: 3.938 kB / 466.1 MB, free: 35.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1843, allocations: 13.44 kB / 466.1 MB, free: 35.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.189, allocations: 5.327 MB / 471.4 MB, free: 34.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.189, allocations: 3.469 kB / 471.4 MB, free: 34.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.189, allocations: 0 / 471.4 MB, free: 34.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.189, allocations: 0 / 471.4 MB, free: 34.97 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001008/0.19, allocations: 0.5049 MB / 471.9 MB, free: 34.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1901, allocations: 13 kB / 471.9 MB, free: 34.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.1901, allocations: 41.41 kB / 472 MB, free: 34.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.1902, allocations: 11 kB / 472 MB, free: 34.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.687e-05/0.1902, allocations: 104.3 kB / 472.1 MB, free: 34.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1902, allocations: 7 kB / 472.1 MB, free: 34.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.1902, allocations: 0 / 472.1 MB, free: 34.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1903, allocations: 82.12 kB / 472.2 MB, free: 34.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1903, allocations: 0 / 472.2 MB, free: 34.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.1904, allocations: 7.188 kB / 472.2 MB, free: 34.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1904, allocations: 3.938 kB / 472.2 MB, free: 34.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.1904, allocations: 85.61 kB / 472.2 MB, free: 34.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.1907, allocations: 282.7 kB / 472.5 MB, free: 34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/0.1908, allocations: 36.14 kB / 472.6 MB, free: 33.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.1908, allocations: 29.7 kB / 472.6 MB, free: 33.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.1922, allocations: 0.809 MB / 473.4 MB, free: 33.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.1922, allocations: 30.77 kB / 473.4 MB, free: 33.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.1922, allocations: 7.875 kB / 473.4 MB, free: 33.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000191/0.1924, allocations: 112 kB / 473.5 MB, free: 33.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.1924, allocations: 51.41 kB / 473.6 MB, free: 33.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.418e-05/0.1924, allocations: 92.89 kB / 473.7 MB, free: 33.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-06/0.1924, allocations: 29.64 kB / 473.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.628e-05/0.1925, allocations: 90.47 kB / 473.8 MB, free: 33.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.1925, allocations: 26.81 kB / 473.8 MB, free: 33.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.1925, allocations: 23.34 kB / 473.9 MB, free: 33.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.239e-05/0.1925, allocations: 320.8 kB / 474.2 MB, free: 33.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.1925, allocations: 23.73 kB / 474.2 MB, free: 33.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.1926, allocations: 32.69 kB / 474.2 MB, free: 33.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.1926, allocations: 64 kB / 474.3 MB, free: 32.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1926, allocations: 7.875 kB / 474.3 MB, free: 32.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.863e-05/0.1927, allocations: 92.05 kB / 474.4 MB, free: 32.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1927, allocations: 6.188 kB / 474.4 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1927, allocations: 0 / 474.4 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1927, allocations: 0 / 474.4 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.1928, allocations: 16.47 kB / 474.4 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.1928, allocations: 0 / 474.4 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.1928, allocations: 14.23 kB / 474.4 MB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1928, allocations: 3.188 kB / 474.4 MB, free: 32.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 3.343e-05/0.1928, allocations: 116.8 kB / 474.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.1929, allocations: 2.906 kB / 474.5 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.193, allocations: 158.3 kB / 474.7 MB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.827e-05/0.1931, allocations: 113.5 kB / 474.8 MB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1931, allocations: 3 kB / 474.8 MB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1931, allocations: 4 kB / 474.8 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1933, allocations: 398 kB / 475.2 MB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1933, allocations: 5.5 kB / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.1933, allocations: 15.56 kB / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1934, allocations: 1.062 kB / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1934, allocations: 5.359 kB / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1934, allocations: 192 / 475.2 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1934, allocations: 3.938 kB / 475.2 MB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1935, allocations: 226.4 kB / 475.4 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1935, allocations: 3.438 kB / 475.5 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1935, allocations: 4.969 kB / 475.5 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.1935, allocations: 4 kB / 475.5 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1935, allocations: 14.55 kB / 475.5 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1935, allocations: 3.438 kB / 475.5 MB, free: 32.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.024e-05/0.1936, allocations: 76.53 kB / 475.6 MB, free: 32.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1936, allocations: 0 / 475.6 MB, free: 32.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008054/0.1944, allocations: 365.5 kB / 475.9 MB, free: 31.92 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.008357/0.2027, allocations: 4.793 MB / 480.7 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.2029, allocations: 107.4 kB / 480.8 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2029, allocations: 0 / 480.8 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.2029, allocations: 44.34 kB / 480.9 MB, free: 29.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2032, allocations: 45.91 kB / 480.9 MB, free: 29.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008364/0.204, allocations: 382.8 kB / 481.3 MB, free: 28.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.2041, allocations: 76.3 kB / 481.3 MB, free: 28.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.2041, allocations: 15.81 kB / 481.4 MB, free: 28.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.2041, allocations: 24.12 kB / 481.4 MB, free: 28.71 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2041, allocations: 4 kB / 481.4 MB, free: 28.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.235, allocations: 20.86 MB / 0.4905 GB, free: 22.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.796, allocations: 4.5 kB / 0.4905 GB, free: 22.22 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable h in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable h from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable rho from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable mu in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable mu from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable cp in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable cp from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable k in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable k from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.196548921056092]