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.001927/0.001927, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002339/0.002339, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2403/0.2403, allocations: 46.97 MB / 360.9 MB, free: 4.012 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.003208/0.003208, allocations: 63.91 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3545, allocations: 66.05 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01189/0.3664, allocations: 8.054 MB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.3788, allocations: 9.894 MB / 0.5781 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.3789, allocations: 0 / 0.5781 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.3791, allocations: 31.81 kB / 0.5781 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.3843, allocations: 1.851 MB / 0.5799 GB, free: 300 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.115e-06/0.3843, allocations: 4 kB / 0.58 GB, free: 296 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3844, allocations: 51.67 kB / 0.58 GB, free: 244 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.3845, allocations: 3.938 kB / 0.58 GB, free: 240 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.3846, allocations: 31.84 kB / 0.58 GB, free: 208 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.3847, allocations: 19.88 kB / 0.5801 GB, free: 188 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.3847, allocations: 0 / 0.5801 GB, free: 188 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.3954, allocations: 6.588 MB / 0.5865 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.3955, allocations: 4 kB / 0.5865 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.3955, allocations: 15.94 kB / 0.5865 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.4098, allocations: 5.096 MB / 0.5915 GB, free: 4.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4098, allocations: 0 / 0.5915 GB, free: 4.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4098, allocations: 0 / 0.5915 GB, free: 4.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4098, allocations: 0 / 0.5915 GB, free: 4.461 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.002605/0.4124, allocations: 0.5036 MB / 0.592 GB, free: 3.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4125, allocations: 8.031 kB / 0.592 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.4125, allocations: 42.48 kB / 0.592 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4126, allocations: 8 kB / 0.592 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.4127, allocations: 113.1 kB / 0.5921 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.4127, allocations: 0 / 0.5921 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.4128, allocations: 8 kB / 0.5921 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4129, allocations: 81.61 kB / 0.5922 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4129, allocations: 4 kB / 0.5922 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.4129, allocations: 0 / 0.5922 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4129, allocations: 3.984 kB / 0.5922 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.413, allocations: 75.97 kB / 0.5923 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.4135, allocations: 299.7 kB / 0.5926 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.4136, allocations: 38.56 kB / 0.5926 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.4136, allocations: 20.92 kB / 0.5926 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002746/0.4164, allocations: 0.8076 MB / 0.5934 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4164, allocations: 34.56 kB / 0.5935 GB, free: 2.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4164, allocations: 0 / 0.5935 GB, free: 2.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000304/0.4167, allocations: 113.7 kB / 0.5936 GB, free: 2.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4167, allocations: 51.41 kB / 0.5936 GB, free: 2.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.4168, allocations: 105.8 kB / 0.5937 GB, free: 1.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4168, allocations: 29.69 kB / 0.5938 GB, free: 1.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.4169, allocations: 88.03 kB / 0.5938 GB, free: 1.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.4169, allocations: 27.86 kB / 0.5939 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.417, allocations: 29.64 kB / 0.5939 GB, free: 1.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4171, allocations: 318.8 kB / 0.5942 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.4171, allocations: 27.92 kB / 0.5942 GB, free: 1.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.4172, allocations: 37.7 kB / 0.5943 GB, free: 1.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.45e-05/0.4173, allocations: 62.03 kB / 0.5943 GB, free: 1.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4173, allocations: 4 kB / 0.5943 GB, free: 1.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001641/0.4174, allocations: 97.58 kB / 0.5944 GB, free: 1.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4175, allocations: 4 kB / 0.5944 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4175, allocations: 0 / 0.5944 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4175, allocations: 4 kB / 0.5944 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.4175, allocations: 15.92 kB / 0.5944 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4175, allocations: 0 / 0.5944 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.4176, allocations: 0 / 0.5944 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4176, allocations: 4 kB / 0.5944 GB, free: 1.219 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.183e-05/0.4177, allocations: 117.8 kB / 0.5946 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.4177, allocations: 7.984 kB / 0.5946 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.418, allocations: 145.7 kB / 0.5947 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001486/0.4181, allocations: 121.6 kB / 0.5948 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4181, allocations: 0 / 0.5948 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4181, allocations: 3.984 kB / 0.5948 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.4186, allocations: 401.6 kB / 0.5952 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4186, allocations: 4 kB / 0.5952 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.4187, allocations: 19.92 kB / 0.5952 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4187, allocations: 7.938 kB / 0.5952 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4187, allocations: 8 kB / 0.5952 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4187, allocations: 0 / 0.5952 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4187, allocations: 0 / 0.5952 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.419, allocations: 215.5 kB / 0.5954 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.419, allocations: 15.94 kB / 0.5955 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.419, allocations: 11.88 kB / 0.5955 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.419, allocations: 0 / 0.5955 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.4191, allocations: 4 kB / 0.5955 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4191, allocations: 11.98 kB / 0.5955 GB, free: 64 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.4191, allocations: 79.22 kB / 0.5956 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4191, allocations: 0 / 0.5956 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002227/0.4214, allocations: 363 kB / 0.5959 GB, free: 15.63 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.01411/0.4355, allocations: 4.749 MB / 0.6006 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.4358, allocations: 109.6 kB / 0.6007 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4358, allocations: 0 / 0.6007 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.4358, allocations: 43.92 kB / 0.6007 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.4363, allocations: 44.14 kB / 0.6007 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.4381, allocations: 410.2 kB / 0.6011 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.4382, allocations: 79.08 kB / 0.6012 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.4382, allocations: 24.05 kB / 0.6012 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.4383, allocations: 23.44 kB / 0.6013 GB, free: 10.06 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4383, allocations: 0 / 0.6013 GB, free: 10.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05164/0.4899, allocations: 20.77 MB / 0.6215 GB, free: 5.402 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.47, allocations: 6.734 kB / 0.6215 GB, free: 5.398 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.866714081261307]