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.001722/0.001722, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002021/0.002021, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2176/0.2176, allocations: 44.9 MB / 358.8 MB, free: 6.266 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.002017/0.002017, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.308, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01288/0.3209, allocations: 8.442 MB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.3341, allocations: 11.26 MB / 0.5763 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.3342, allocations: 3.938 kB / 0.5763 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.3344, allocations: 35.81 kB / 0.5763 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.3397, allocations: 1.867 MB / 0.5781 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.422e-06/0.3397, allocations: 0 / 0.5781 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3398, allocations: 39.73 kB / 0.5782 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.3398, allocations: 11.88 kB / 0.5782 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.34, allocations: 27.91 kB / 0.5782 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.34, allocations: 15.92 kB / 0.5782 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.34, allocations: 0 / 0.5782 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.3511, allocations: 6.76 MB / 0.5848 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3511, allocations: 3.938 kB / 0.5848 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.3512, allocations: 19.92 kB / 0.5848 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.3632, allocations: 5.092 MB / 0.5898 GB, free: 6.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3632, allocations: 0 / 0.5898 GB, free: 6.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3632, allocations: 0 / 0.5898 GB, free: 6.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3632, allocations: 3.938 kB / 0.5898 GB, free: 6.082 MB / 430.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.002761/0.366, allocations: 0.4998 MB / 0.5903 GB, free: 5.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.366, allocations: 8.031 kB / 0.5903 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.366, allocations: 38.5 kB / 0.5903 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3662, allocations: 19.94 kB / 0.5904 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.3663, allocations: 105.2 kB / 0.5905 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3663, allocations: 0 / 0.5905 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3663, allocations: 7.984 kB / 0.5905 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3664, allocations: 85.55 kB / 0.5906 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3664, allocations: 0 / 0.5906 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3665, allocations: 0 / 0.5906 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.3665, allocations: 4 kB / 0.5906 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3666, allocations: 79.95 kB / 0.5906 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.367, allocations: 299.8 kB / 0.5909 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.3671, allocations: 42.5 kB / 0.591 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.3672, allocations: 25.03 kB / 0.591 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002987/0.3702, allocations: 0.8036 MB / 0.5918 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3702, allocations: 30.56 kB / 0.5918 GB, free: 3.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3702, allocations: 0 / 0.5918 GB, free: 3.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003174/0.3705, allocations: 113.7 kB / 0.5919 GB, free: 3.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3706, allocations: 51.41 kB / 0.592 GB, free: 3.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.3706, allocations: 97.86 kB / 0.592 GB, free: 3.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3707, allocations: 29.83 kB / 0.5921 GB, free: 3.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.3707, allocations: 84.09 kB / 0.5922 GB, free: 3.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3707, allocations: 31.73 kB / 0.5922 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.3708, allocations: 21.72 kB / 0.5922 GB, free: 3.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3709, allocations: 318.8 kB / 0.5925 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.371, allocations: 24 kB / 0.5925 GB, free: 3.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.3711, allocations: 33.7 kB / 0.5926 GB, free: 3.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3712, allocations: 69.97 kB / 0.5926 GB, free: 2.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3712, allocations: 0 / 0.5926 GB, free: 2.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.3714, allocations: 97.56 kB / 0.5927 GB, free: 2.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3714, allocations: 7.938 kB / 0.5927 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3714, allocations: 4 kB / 0.5927 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3714, allocations: 0 / 0.5927 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.3714, allocations: 8 kB / 0.5927 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3715, allocations: 0 / 0.5927 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.3715, allocations: 4 kB / 0.5927 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3715, allocations: 8.031 kB / 0.5928 GB, free: 2.855 MB / 430.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.131e-05/0.3716, allocations: 117.8 kB / 0.5929 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3716, allocations: 3.953 kB / 0.5929 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.3719, allocations: 157.4 kB / 0.593 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001703/0.3721, allocations: 121.4 kB / 0.5931 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3721, allocations: 0 / 0.5931 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3721, allocations: 0 / 0.5931 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.3726, allocations: 413.3 kB / 0.5935 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3726, allocations: 0 / 0.5935 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.3727, allocations: 12 kB / 0.5935 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3727, allocations: 3.938 kB / 0.5935 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3727, allocations: 7.984 kB / 0.5936 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3727, allocations: 0 / 0.5936 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3727, allocations: 0 / 0.5936 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3729, allocations: 223.4 kB / 0.5938 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.3729, allocations: 4 kB / 0.5938 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.373, allocations: 4.188 kB / 0.5938 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.373, allocations: 4 kB / 0.5938 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.373, allocations: 11.98 kB / 0.5938 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.3731, allocations: 4 kB / 0.5938 GB, free: 1.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.3731, allocations: 79.28 kB / 0.5939 GB, free: 1.633 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3731, allocations: 0 / 0.5939 GB, free: 1.633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002048/0.3751, allocations: 374.8 kB / 0.5942 GB, free: 1.266 MB / 430.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.0142/0.3893, allocations: 4.739 MB / 0.5989 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.3897, allocations: 109.5 kB / 0.599 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3897, allocations: 0 / 0.599 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.3897, allocations: 44.05 kB / 0.599 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3902, allocations: 40.86 kB / 0.599 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.392, allocations: 401.5 kB / 0.5994 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3924, allocations: 0.6924 MB / 0.6001 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.3924, allocations: 16.11 kB / 0.6001 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3925, allocations: 23.44 kB / 0.6001 GB, free: 11.11 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3925, allocations: 0 / 0.6001 GB, free: 11.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.4441, allocations: 20.19 MB / 0.6199 GB, free: 7.012 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.57, allocations: 9.578 kB / 0.6199 GB, free: 7.008 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.818724370001291]