Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001262/0.001262, allocations: 123 kB / 17.79 MB, free: 5.246 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.001366/0.001366, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 46.93 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 63.91 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1375, allocations: 66 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01173/0.1492, allocations: 8.435 MB / 0.5636 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.1618, allocations: 11.22 MB / 0.5746 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.1619, allocations: 0 / 0.5746 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1621, allocations: 51.78 kB / 0.5746 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.167, allocations: 1.832 MB / 0.5764 GB, free: 232 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.097e-05/0.167, allocations: 4 kB / 0.5764 GB, free: 228 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1671, allocations: 51.59 kB / 0.5764 GB, free: 176 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.1671, allocations: 8 kB / 0.5765 GB, free: 168 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1673, allocations: 31.8 kB / 0.5765 GB, free: 136 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.1673, allocations: 27.91 kB / 0.5765 GB, free: 108 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.1673, allocations: 0 / 0.5765 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.1774, allocations: 6.713 MB / 0.5831 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.1775, allocations: 3.984 kB / 0.5831 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.1775, allocations: 27.81 kB / 0.5831 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.1897, allocations: 5.088 MB / 0.5881 GB, free: 4.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1897, allocations: 0 / 0.5881 GB, free: 4.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1897, allocations: 0 / 0.5881 GB, free: 4.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1897, allocations: 3.938 kB / 0.5881 GB, free: 4.25 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.003603/0.1933, allocations: 0.5867 MB / 0.5886 GB, free: 3.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1934, allocations: 8.031 kB / 0.5887 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1934, allocations: 38.55 kB / 0.5887 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1935, allocations: 8 kB / 0.5887 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.1937, allocations: 167 kB / 0.5889 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1937, allocations: 4 kB / 0.5889 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1937, allocations: 0 / 0.5889 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1939, allocations: 93.58 kB / 0.5889 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1939, allocations: 4 kB / 0.589 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1939, allocations: 4 kB / 0.589 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.194, allocations: 3.938 kB / 0.589 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1941, allocations: 71.97 kB / 0.589 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1946, allocations: 316.7 kB / 0.5893 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.1947, allocations: 38.56 kB / 0.5894 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.1947, allocations: 24.92 kB / 0.5894 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00348/0.1982, allocations: 1.85 MB / 0.5912 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1982, allocations: 34.55 kB / 0.5912 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1982, allocations: 0 / 0.5912 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003811/0.1986, allocations: 113.6 kB / 0.5913 GB, free: 472 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1987, allocations: 51.41 kB / 0.5914 GB, free: 408 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.1988, allocations: 97.84 kB / 0.5915 GB, free: 300 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1988, allocations: 25.7 kB / 0.5915 GB, free: 268 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.1989, allocations: 92.03 kB / 0.5916 GB, free: 172 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1989, allocations: 36 kB / 0.5916 GB, free: 136 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.1989, allocations: 21.72 kB / 0.5917 GB, free: 108 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2539/0.4529, allocations: 314 kB / 0.5919 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.453, allocations: 23.41 kB / 0.592 GB, free: 33.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.453, allocations: 37.34 kB / 0.592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.4532, allocations: 62.75 kB / 0.5921 GB, free: 33.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4532, allocations: 3.125 kB / 0.5921 GB, free: 33.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002241/0.4534, allocations: 99.81 kB / 0.5922 GB, free: 33.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4534, allocations: 3.219 kB / 0.5922 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4534, allocations: 0 / 0.5922 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.4534, allocations: 3.75 kB / 0.5922 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.4535, allocations: 11.48 kB / 0.5922 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4535, allocations: 3.75 kB / 0.5922 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.4536, allocations: 4.953 kB / 0.5922 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.4536, allocations: 4.75 kB / 0.5922 GB, free: 33.18 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.327e-05/0.4537, allocations: 112.5 kB / 0.5923 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.4537, allocations: 6.844 kB / 0.5923 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.454, allocations: 155 kB / 0.5925 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001367/0.4541, allocations: 115.5 kB / 0.5926 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4542, allocations: 9.125 kB / 0.5926 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4542, allocations: 0 / 0.5926 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.4546, allocations: 431.2 kB / 0.593 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4546, allocations: 3.484 kB / 0.593 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.4546, allocations: 19.61 kB / 0.593 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4547, allocations: 0 / 0.593 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4547, allocations: 0 / 0.593 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4547, allocations: 0.7812 kB / 0.593 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4547, allocations: 5 kB / 0.593 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.4549, allocations: 226.3 kB / 0.5932 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.4549, allocations: 81.77 kB / 0.5933 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.4549, allocations: 6.25 kB / 0.5933 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.455, allocations: 1.875 kB / 0.5933 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.455, allocations: 7.641 kB / 0.5933 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.455, allocations: 5.344 kB / 0.5933 GB, free: 32.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.427e-05/0.455, allocations: 78.17 kB / 0.5934 GB, free: 32.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.455, allocations: 3.328 kB / 0.5934 GB, free: 32.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002628/0.4576, allocations: 362.2 kB / 0.5938 GB, free: 32.38 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.01419/0.4718, allocations: 4.748 MB / 0.5984 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.4722, allocations: 110.3 kB / 0.5985 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4722, allocations: 0.8125 kB / 0.5985 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.4723, allocations: 47.31 kB / 0.5985 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.4728, allocations: 37.62 kB / 0.5986 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4752, allocations: 418.3 kB / 0.599 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.4753, allocations: 0.6925 MB / 0.5997 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.4754, allocations: 19.69 kB / 0.5997 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.4755, allocations: 29.42 kB / 0.5997 GB, free: 28.87 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4755, allocations: 0 / 0.5997 GB, free: 28.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.5273, allocations: 20.07 MB / 0.6193 GB, free: 22.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.913/9.441, allocations: 6.125 kB / 0.6193 GB, free: 22.5 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable h in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable h from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable rho from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable mu in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable mu from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable cp in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable cp from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable k in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable k from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.764717243990162]