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.00118/0.00118, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001284/0.001284, allocations: 203.3 kB / 20.74 MB, free: 2.34 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 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.2125/0.2125, allocations: 44.91 MB / 355.1 MB, free: 12.36 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.17 kB / 499.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1217, allocations: 65.43 MB / 0.5517 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01147/0.1331, allocations: 8.404 MB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.1452, allocations: 11.22 MB / 0.5709 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.1453, allocations: 3.938 kB / 0.5709 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1455, allocations: 43.78 kB / 0.5709 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.1502, allocations: 1.848 MB / 0.5727 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.891e-06/0.1502, allocations: 4 kB / 0.5728 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.1503, allocations: 31.75 kB / 0.5728 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.1504, allocations: 7.984 kB / 0.5728 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1505, allocations: 35.78 kB / 0.5728 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.1505, allocations: 11.94 kB / 0.5728 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-06/0.1505, allocations: 4 kB / 0.5728 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009907/0.1604, allocations: 6.721 MB / 0.5794 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1604, allocations: 0 / 0.5794 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1605, allocations: 19.88 kB / 0.5794 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.1726, allocations: 5.088 MB / 0.5844 GB, free: 8.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1726, allocations: 0 / 0.5844 GB, free: 8.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1726, allocations: 0 / 0.5844 GB, free: 8.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1726, allocations: 0 / 0.5844 GB, free: 8.648 MB / 446.1 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.002904/0.1755, allocations: 0.5712 MB / 0.5849 GB, free: 8.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1755, allocations: 12.03 kB / 0.585 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.1756, allocations: 46.48 kB / 0.585 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1757, allocations: 7.953 kB / 0.585 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1758, allocations: 170.9 kB / 0.5852 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1758, allocations: 8 kB / 0.5852 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.1758, allocations: 0 / 0.5852 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.176, allocations: 85.55 kB / 0.5853 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.176, allocations: 0 / 0.5853 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.176, allocations: 0 / 0.5853 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.176, allocations: 4 kB / 0.5853 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1761, allocations: 75.95 kB / 0.5853 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.1766, allocations: 320.7 kB / 0.5856 GB, free: 7.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.1767, allocations: 30.58 kB / 0.5857 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.1767, allocations: 36.91 kB / 0.5857 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003406/0.1801, allocations: 1.85 MB / 0.5875 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.1801, allocations: 34.56 kB / 0.5876 GB, free: 4.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1802, allocations: 0 / 0.5876 GB, free: 4.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002925/0.1804, allocations: 109.7 kB / 0.5877 GB, free: 4.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1805, allocations: 51.69 kB / 0.5877 GB, free: 4.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.1806, allocations: 101.9 kB / 0.5878 GB, free: 4.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1806, allocations: 25.7 kB / 0.5878 GB, free: 4.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1806, allocations: 88.03 kB / 0.5879 GB, free: 4.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.1807, allocations: 31.73 kB / 0.5879 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1807, allocations: 21.72 kB / 0.588 GB, free: 4.512 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1808, allocations: 318.8 kB / 0.5883 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.1809, allocations: 24 kB / 0.5883 GB, free: 4.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.294e-05/0.1809, allocations: 41.77 kB / 0.5883 GB, free: 4.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.181, allocations: 61.7 kB / 0.5884 GB, free: 4.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.181, allocations: 0 / 0.5884 GB, free: 4.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001668/0.1812, allocations: 93.58 kB / 0.5885 GB, free: 3.957 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1812, allocations: 6.031 kB / 0.5885 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1812, allocations: 4 kB / 0.5885 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1812, allocations: 0 / 0.5885 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.1813, allocations: 11.94 kB / 0.5885 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1813, allocations: 4.031 kB / 0.5885 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.1813, allocations: 7.938 kB / 0.5885 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1813, allocations: 4 kB / 0.5885 GB, free: 3.922 MB / 446.1 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 9.097e-05/0.1814, allocations: 117.8 kB / 0.5886 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.1815, allocations: 3.953 kB / 0.5886 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1817, allocations: 149.7 kB / 0.5888 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001492/0.1819, allocations: 121.1 kB / 0.5889 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1819, allocations: 7.938 kB / 0.5889 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1819, allocations: 0 / 0.5889 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1823, allocations: 430.3 kB / 0.5893 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1824, allocations: 0 / 0.5893 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1824, allocations: 19.98 kB / 0.5893 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1824, allocations: 7.875 kB / 0.5893 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1824, allocations: 0 / 0.5893 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1824, allocations: 0 / 0.5893 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1824, allocations: 0 / 0.5893 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1827, allocations: 223.7 kB / 0.5895 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1827, allocations: 85.05 kB / 0.5896 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1827, allocations: 4.031 kB / 0.5896 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.1828, allocations: 11.92 kB / 0.5896 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1828, allocations: 4 kB / 0.5896 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1828, allocations: 4.25 kB / 0.5896 GB, free: 2.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.1828, allocations: 75.28 kB / 0.5897 GB, free: 2.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1828, allocations: 8.031 kB / 0.5897 GB, free: 2.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002366/0.1852, allocations: 370.9 kB / 0.5901 GB, free: 2.203 MB / 446.1 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.2544/0.4396, allocations: 4.722 MB / 0.5947 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.4399, allocations: 104.5 kB / 0.5948 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4399, allocations: 1.719 kB / 0.5948 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.4399, allocations: 44.42 kB / 0.5948 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.4404, allocations: 39.3 kB / 0.5949 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.4423, allocations: 404.6 kB / 0.5953 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4424, allocations: 0.6917 MB / 0.5959 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.252e-05/0.4424, allocations: 15.66 kB / 0.596 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.4425, allocations: 29.64 kB / 0.596 GB, free: 14.07 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4425, allocations: 0 / 0.596 GB, free: 14.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05569/0.4982, allocations: 19.97 MB / 0.6155 GB, free: 10.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/9.476, allocations: 4.422 kB / 0.6155 GB, free: 10.61 MB / 446.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/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: 12.764886382035911]