Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001615/0.001615, allocations: 131.4 kB / 17.79 MB, free: 5.242 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.001839/0.001839, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.46/1.46, allocations: 230.5 MB / 254 MB, free: 15.02 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.2183/0.2183, allocations: 46.91 MB / 357 MB, free: 10.18 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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 75.88 kB / 0.491 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 66.05 MB / 0.5555 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01223/0.1403, allocations: 8.436 MB / 0.5637 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.1534, allocations: 11.22 MB / 0.5747 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.1534, allocations: 0 / 0.5747 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1536, allocations: 43.8 kB / 0.5747 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.159, allocations: 1.838 MB / 0.5765 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.244e-05/0.159, allocations: 4 kB / 0.5765 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1592, allocations: 51.59 kB / 0.5765 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.1592, allocations: 8 kB / 0.5766 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1594, allocations: 27.86 kB / 0.5766 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.1594, allocations: 31.91 kB / 0.5766 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.1594, allocations: 0 / 0.5766 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/0.1706, allocations: 6.709 MB / 0.5832 GB, free: 9.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.1706, allocations: 7.922 kB / 0.5832 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1707, allocations: 23.88 kB / 0.5832 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.1837, allocations: 5.092 MB / 0.5882 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1837, allocations: 0 / 0.5882 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1837, allocations: 3.938 kB / 0.5882 GB, free: 3.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1837, allocations: 0 / 0.5882 GB, free: 3.938 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.003417/0.1872, allocations: 0.5867 MB / 0.5887 GB, free: 3.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.1872, allocations: 8.031 kB / 0.5887 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1873, allocations: 38.55 kB / 0.5888 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1874, allocations: 8 kB / 0.5888 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1875, allocations: 171 kB / 0.589 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1875, allocations: 4 kB / 0.589 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.1876, allocations: 0 / 0.589 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.1878, allocations: 97.47 kB / 0.5891 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1878, allocations: 0 / 0.5891 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1878, allocations: 8 kB / 0.5891 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1878, allocations: 0 / 0.5891 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1879, allocations: 71.97 kB / 0.5891 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.1884, allocations: 316.7 kB / 0.5894 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.1885, allocations: 38.66 kB / 0.5895 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.1886, allocations: 28.86 kB / 0.5895 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003407/0.192, allocations: 1.846 MB / 0.5913 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.192, allocations: 30.56 kB / 0.5913 GB, free: 272 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.192, allocations: 0 / 0.5913 GB, free: 272 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003342/0.1924, allocations: 113.6 kB / 0.5914 GB, free: 152 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1924, allocations: 55.41 kB / 0.5915 GB, free: 84 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2581/0.4505, allocations: 92.81 kB / 0.5916 GB, free: 33.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.4505, allocations: 27.14 kB / 0.5916 GB, free: 33.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.4506, allocations: 90.66 kB / 0.5917 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.4506, allocations: 30.69 kB / 0.5917 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.4506, allocations: 22.95 kB / 0.5917 GB, free: 33.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.4507, allocations: 319.9 kB / 0.592 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.4507, allocations: 23.67 kB / 0.5921 GB, free: 32.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.4508, allocations: 36.69 kB / 0.5921 GB, free: 32.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4509, allocations: 62.16 kB / 0.5922 GB, free: 32.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4509, allocations: 1.094 kB / 0.5922 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002204/0.4511, allocations: 97.83 kB / 0.5923 GB, free: 32.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4512, allocations: 5.062 kB / 0.5923 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4512, allocations: 5.094 kB / 0.5923 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4512, allocations: 7.312 kB / 0.5923 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.4513, allocations: 13.55 kB / 0.5923 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4513, allocations: 0.5 kB / 0.5923 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.4513, allocations: 6.625 kB / 0.5923 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4513, allocations: 0.75 kB / 0.5923 GB, free: 32.77 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 6.416e-05/0.4514, allocations: 113.1 kB / 0.5924 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.4514, allocations: 9.891 kB / 0.5924 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.4517, allocations: 155.5 kB / 0.5926 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001519/0.4518, allocations: 124.3 kB / 0.5927 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4519, allocations: 0 / 0.5927 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4519, allocations: 1.125 kB / 0.5927 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.4523, allocations: 428.6 kB / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4523, allocations: 3 kB / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.4524, allocations: 15.44 kB / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4524, allocations: 3.344 kB / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4524, allocations: 1.469 kB / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4524, allocations: 5.453 kB / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4524, allocations: 0 / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4526, allocations: 226.1 kB / 0.5933 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.4526, allocations: 86.05 kB / 0.5934 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.4526, allocations: 2.484 kB / 0.5934 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.4527, allocations: 4.641 kB / 0.5934 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.4527, allocations: 5.078 kB / 0.5934 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4527, allocations: 4.219 kB / 0.5934 GB, free: 32.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.286e-05/0.4527, allocations: 81.12 kB / 0.5935 GB, free: 31.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4527, allocations: 2.062 kB / 0.5935 GB, free: 31.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002531/0.4553, allocations: 367.2 kB / 0.5939 GB, free: 31.96 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.01342/0.4687, allocations: 4.739 MB / 0.5985 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.469, allocations: 103.2 kB / 0.5986 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.469, allocations: 2.562 kB / 0.5986 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.469, allocations: 47.06 kB / 0.5986 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.4695, allocations: 37.77 kB / 0.5987 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4714, allocations: 418.1 kB / 0.5991 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4715, allocations: 0.6975 MB / 0.5997 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.594e-05/0.4716, allocations: 13.64 kB / 0.5998 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.4716, allocations: 32.66 kB / 0.5998 GB, free: 28.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4716, allocations: 0 / 0.5998 GB, free: 28.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/0.5226, allocations: 20.03 MB / 0.6194 GB, free: 22.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.013/9.535, allocations: 15.88 kB / 0.6194 GB, free: 22.13 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable h in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable h from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable mu in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable mu from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable cp in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable cp from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable k in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable k from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.086110244039446]