Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.4 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 46.93 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 79.88 kB / 0.491 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.125, allocations: 66.05 MB / 0.5555 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01291/0.1379, allocations: 8.453 MB / 0.5637 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.1514, allocations: 11.22 MB / 0.5747 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.1515, allocations: 0 / 0.5747 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1517, allocations: 31.81 kB / 0.5747 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.1571, allocations: 1.851 MB / 0.5765 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.052e-05/0.1571, allocations: 0 / 0.5765 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.1572, allocations: 51.61 kB / 0.5766 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1572, allocations: 4 kB / 0.5766 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1574, allocations: 35.84 kB / 0.5766 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.1574, allocations: 15.92 kB / 0.5766 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1574, allocations: 4 kB / 0.5766 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.1682, allocations: 6.717 MB / 0.5832 GB, free: 9.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.1682, allocations: 7.938 kB / 0.5832 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.1682, allocations: 15.88 kB / 0.5832 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.1812, allocations: 5.1 MB / 0.5882 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1812, allocations: 0 / 0.5882 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1812, allocations: 0 / 0.5882 GB, free: 3.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1813, allocations: 0 / 0.5882 GB, free: 3.941 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.002931/0.1842, allocations: 0.5789 MB / 0.5888 GB, free: 3.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1842, allocations: 16.03 kB / 0.5888 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.1843, allocations: 38.55 kB / 0.5888 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1844, allocations: 8 kB / 0.5888 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1845, allocations: 170.9 kB / 0.589 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1845, allocations: 4 kB / 0.589 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1845, allocations: 4 kB / 0.589 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1847, allocations: 85.55 kB / 0.5891 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1847, allocations: 0 / 0.5891 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1847, allocations: 4 kB / 0.5891 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1847, allocations: 0 / 0.5891 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1848, allocations: 75.97 kB / 0.5891 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1853, allocations: 316.7 kB / 0.5894 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.1854, allocations: 38.66 kB / 0.5895 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1854, allocations: 32.84 kB / 0.5895 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003446/0.1889, allocations: 1.85 MB / 0.5913 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1889, allocations: 30.56 kB / 0.5913 GB, free: 276 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.1889, allocations: 0 / 0.5913 GB, free: 276 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003329/0.1892, allocations: 109.6 kB / 0.5915 GB, free: 160 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1893, allocations: 55.41 kB / 0.5915 GB, free: 92 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.24/0.4293, allocations: 98.61 kB / 0.5916 GB, free: 33.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.4293, allocations: 26.5 kB / 0.5916 GB, free: 33.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.4294, allocations: 88.06 kB / 0.5917 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.4294, allocations: 30.53 kB / 0.5917 GB, free: 33.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.4295, allocations: 23.47 kB / 0.5918 GB, free: 33.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.4295, allocations: 319.1 kB / 0.5921 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.4296, allocations: 21.91 kB / 0.5921 GB, free: 32.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.4297, allocations: 36.09 kB / 0.5921 GB, free: 32.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.4299, allocations: 68.31 kB / 0.5922 GB, free: 32.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4299, allocations: 0.5 kB / 0.5922 GB, free: 32.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002979/0.4302, allocations: 93.23 kB / 0.5923 GB, free: 32.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4302, allocations: 5.094 kB / 0.5923 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4302, allocations: 7.016 kB / 0.5923 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4302, allocations: 3.75 kB / 0.5923 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4303, allocations: 14.92 kB / 0.5923 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4303, allocations: 1.438 kB / 0.5923 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.4304, allocations: 4.5 kB / 0.5923 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4304, allocations: 4.688 kB / 0.5923 GB, free: 32.82 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 7.585e-05/0.4305, allocations: 113.8 kB / 0.5924 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.4306, allocations: 6.172 kB / 0.5924 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.4309, allocations: 159.4 kB / 0.5926 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002154/0.4312, allocations: 117.7 kB / 0.5927 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4312, allocations: 0 / 0.5927 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4312, allocations: 1.547 kB / 0.5927 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.4318, allocations: 428.8 kB / 0.5931 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4318, allocations: 2 kB / 0.5931 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.4319, allocations: 17.31 kB / 0.5931 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4319, allocations: 0 / 0.5931 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4319, allocations: 2.875 kB / 0.5931 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.4319, allocations: 3.953 kB / 0.5931 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4319, allocations: 6.156 kB / 0.5931 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.4322, allocations: 223.4 kB / 0.5933 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.4322, allocations: 89.19 kB / 0.5934 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.4323, allocations: 4.75 kB / 0.5934 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.4324, allocations: 3.969 kB / 0.5934 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.4324, allocations: 9.469 kB / 0.5934 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4324, allocations: 2.312 kB / 0.5934 GB, free: 32.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.4324, allocations: 82.52 kB / 0.5935 GB, free: 32.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4324, allocations: 0.875 kB / 0.5935 GB, free: 32.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003753/0.4362, allocations: 362.2 kB / 0.5939 GB, free: 32.01 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.01876/0.4549, allocations: 4.742 MB / 0.5985 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.4552, allocations: 105.9 kB / 0.5986 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4552, allocations: 1.562 kB / 0.5986 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.4553, allocations: 44.86 kB / 0.5987 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4558, allocations: 38.97 kB / 0.5987 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4578, allocations: 413.3 kB / 0.5991 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.4579, allocations: 0.693 MB / 0.5998 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.458, allocations: 20.09 kB / 0.5998 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.458, allocations: 28.58 kB / 0.5998 GB, free: 28.49 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.458, allocations: 1.469 kB / 0.5998 GB, free: 28.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05488/0.5129, allocations: 20.04 MB / 0.6194 GB, free: 22.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.119/9.632, allocations: 4.062 kB / 0.6194 GB, free: 22.14 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable h in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable h from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable mu in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable mu from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable cp in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable cp from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable k in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable k from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.982397784944624]