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.001464/0.001464, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001621/0.001621, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2184/0.2184, allocations: 44.93 MB / 358.8 MB, free: 6.055 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.002299/0.002299, allocations: 67.89 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3218, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01288/0.3347, allocations: 8.023 MB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3482, allocations: 9.891 MB / 0.5744 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.3482, allocations: 8 kB / 0.5745 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3485, allocations: 31.81 kB / 0.5745 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.3539, allocations: 1.84 MB / 0.5763 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.528e-06/0.3539, allocations: 0 / 0.5763 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.354, allocations: 47.67 kB / 0.5763 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.3541, allocations: 15.92 kB / 0.5763 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3542, allocations: 27.86 kB / 0.5764 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.3542, allocations: 15.92 kB / 0.5764 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.3542, allocations: 0 / 0.5764 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.3646, allocations: 6.584 MB / 0.5828 GB, free: 13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.3646, allocations: 7.938 kB / 0.5828 GB, free: 13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.3647, allocations: 15.92 kB / 0.5828 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.3791, allocations: 5.088 MB / 0.5878 GB, free: 7.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3791, allocations: 0 / 0.5878 GB, free: 7.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3791, allocations: 4 kB / 0.5878 GB, free: 7.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3791, allocations: 0 / 0.5878 GB, free: 7.883 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.002944/0.3821, allocations: 0.4959 MB / 0.5883 GB, free: 7.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.3821, allocations: 8.031 kB / 0.5883 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.3822, allocations: 42.56 kB / 0.5883 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3823, allocations: 11.94 kB / 0.5884 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3824, allocations: 109.1 kB / 0.5885 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3824, allocations: 4 kB / 0.5885 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3824, allocations: 4 kB / 0.5885 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3826, allocations: 81.61 kB / 0.5885 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3826, allocations: 0 / 0.5885 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3826, allocations: 8 kB / 0.5886 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3827, allocations: 7.938 kB / 0.5886 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.3828, allocations: 75.95 kB / 0.5886 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.3833, allocations: 295.7 kB / 0.5889 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.3834, allocations: 34.58 kB / 0.5889 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.3834, allocations: 28.91 kB / 0.589 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002934/0.3864, allocations: 0.8115 MB / 0.5898 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.3864, allocations: 34.56 kB / 0.5898 GB, free: 5.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3864, allocations: 0 / 0.5898 GB, free: 5.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000294/0.3867, allocations: 113.7 kB / 0.5899 GB, free: 5.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3867, allocations: 51.41 kB / 0.59 GB, free: 5.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.3868, allocations: 93.84 kB / 0.59 GB, free: 5.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3868, allocations: 25.7 kB / 0.5901 GB, free: 5.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.3869, allocations: 92.22 kB / 0.5902 GB, free: 5.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3869, allocations: 27.75 kB / 0.5902 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.387, allocations: 21.7 kB / 0.5902 GB, free: 5.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3871, allocations: 322.8 kB / 0.5905 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.3872, allocations: 19.98 kB / 0.5905 GB, free: 4.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.3872, allocations: 41.64 kB / 0.5906 GB, free: 4.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3873, allocations: 57.72 kB / 0.5906 GB, free: 4.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3873, allocations: 384 / 0.5906 GB, free: 4.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001828/0.3875, allocations: 101.5 kB / 0.5907 GB, free: 4.688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3875, allocations: 8.031 kB / 0.5907 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3875, allocations: 4 kB / 0.5907 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3876, allocations: 0 / 0.5907 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.3876, allocations: 11.98 kB / 0.5907 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3876, allocations: 3.938 kB / 0.5908 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.3877, allocations: 0 / 0.5908 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3877, allocations: 4 kB / 0.5908 GB, free: 4.656 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 0.0001045/0.3878, allocations: 121.7 kB / 0.5909 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.3878, allocations: 3.953 kB / 0.5909 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3881, allocations: 145.5 kB / 0.591 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001649/0.3883, allocations: 125.6 kB / 0.5911 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3883, allocations: 0 / 0.5911 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3883, allocations: 3.984 kB / 0.5911 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.3888, allocations: 401.3 kB / 0.5915 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3888, allocations: 0 / 0.5915 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.3889, allocations: 16.23 kB / 0.5915 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3889, allocations: 3.938 kB / 0.5915 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3889, allocations: 8 kB / 0.5915 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3889, allocations: 3.938 kB / 0.5915 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3889, allocations: 0 / 0.5915 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3892, allocations: 219.5 kB / 0.5918 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.3892, allocations: 4 kB / 0.5918 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3892, allocations: 11.92 kB / 0.5918 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/0.3893, allocations: 4 kB / 0.5918 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.3893, allocations: 0 / 0.5918 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3893, allocations: 7.984 kB / 0.5918 GB, free: 3.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.3893, allocations: 75.28 kB / 0.5919 GB, free: 3.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3893, allocations: 0 / 0.5919 GB, free: 3.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002206/0.3915, allocations: 370.8 kB / 0.5922 GB, free: 3.078 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.01521/0.4068, allocations: 4.749 MB / 0.5968 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.407, allocations: 109.5 kB / 0.597 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4071, allocations: 0 / 0.597 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.4071, allocations: 47.92 kB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.4076, allocations: 44 kB / 0.597 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.4095, allocations: 401.5 kB / 0.5974 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.025e-05/0.4096, allocations: 75.33 kB / 0.5975 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.767e-05/0.4096, allocations: 16.12 kB / 0.5975 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.4097, allocations: 27.42 kB / 0.5975 GB, free: 13.53 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4097, allocations: 0 / 0.5975 GB, free: 13.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05285/0.4625, allocations: 20.66 MB / 0.6177 GB, free: 8.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.77, allocations: 4.062 kB / 0.6177 GB, free: 8.977 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: 16.156394886784256]