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.001688/0.001688, allocations: 115.8 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.002011/0.002011, allocations: 213.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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2286/0.2286, allocations: 46.94 MB / 360.9 MB, free: 4.285 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.001942/0.001942, allocations: 63.89 kB / 0.4961 GB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 66.04 MB / 0.5606 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01219/0.3133, allocations: 8.479 MB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.3264, allocations: 11.27 MB / 0.5799 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.3264, allocations: 4 kB / 0.5799 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.3266, allocations: 43.78 kB / 0.58 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.3315, allocations: 1.852 MB / 0.5818 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.129e-06/0.3315, allocations: 0 / 0.5818 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3316, allocations: 55.61 kB / 0.5818 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3316, allocations: 7.938 kB / 0.5818 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3318, allocations: 31.84 kB / 0.5819 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.3318, allocations: 11.94 kB / 0.5819 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.3318, allocations: 4 kB / 0.5819 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.342, allocations: 6.752 MB / 0.5885 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.3421, allocations: 7.984 kB / 0.5885 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.3421, allocations: 23.81 kB / 0.5885 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.3536, allocations: 5.088 MB / 0.5935 GB, free: 2.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3536, allocations: 0 / 0.5935 GB, free: 2.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3536, allocations: 0 / 0.5935 GB, free: 2.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3536, allocations: 4 kB / 0.5935 GB, free: 2.758 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.002614/0.3562, allocations: 0.5191 MB / 0.594 GB, free: 2.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3562, allocations: 8.031 kB / 0.594 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.3563, allocations: 30.56 kB / 0.594 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3564, allocations: 15.98 kB / 0.594 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3565, allocations: 105.2 kB / 0.5941 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3565, allocations: 11.98 kB / 0.5942 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.3565, allocations: 4 kB / 0.5942 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3567, allocations: 85.61 kB / 0.5942 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3567, allocations: 3.938 kB / 0.5942 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.3567, allocations: 0 / 0.5942 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3567, allocations: 0 / 0.5942 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3568, allocations: 83.89 kB / 0.5943 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3572, allocations: 295.8 kB / 0.5946 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.3573, allocations: 38.56 kB / 0.5946 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.3574, allocations: 24.92 kB / 0.5947 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002866/0.3602, allocations: 0.8077 MB / 0.5955 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3603, allocations: 34.5 kB / 0.5955 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3603, allocations: 0 / 0.5955 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000271/0.3605, allocations: 109.7 kB / 0.5956 GB, free: 464 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3606, allocations: 59.34 kB / 0.5957 GB, free: 392 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.3607, allocations: 97.86 kB / 0.5957 GB, free: 284 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3607, allocations: 25.7 kB / 0.5958 GB, free: 252 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3607, allocations: 96.02 kB / 0.5959 GB, free: 152 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3608, allocations: 27.75 kB / 0.5959 GB, free: 124 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.3608, allocations: 25.7 kB / 0.5959 GB, free: 92 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.361, allocations: 318.8 kB / 0.5962 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.361, allocations: 23.98 kB / 0.5962 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.3611, allocations: 33.72 kB / 0.5963 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3612, allocations: 62.02 kB / 0.5963 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3612, allocations: 0 / 0.5963 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001667/0.3613, allocations: 105.5 kB / 0.5964 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3613, allocations: 8 kB / 0.5964 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3613, allocations: 0 / 0.5964 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3614, allocations: 0 / 0.5964 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.3614, allocations: 11.98 kB / 0.5964 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3614, allocations: 0 / 0.5964 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.3614, allocations: 4 kB / 0.5965 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3615, allocations: 3.938 kB / 0.5965 GB, free: 15.5 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 9.622e-05/0.3616, allocations: 121.8 kB / 0.5966 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.3616, allocations: 7.953 kB / 0.5966 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.3619, allocations: 149.3 kB / 0.5967 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001469/0.362, allocations: 117.7 kB / 0.5968 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.362, allocations: 0 / 0.5968 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.362, allocations: 3.984 kB / 0.5968 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.3625, allocations: 413.3 kB / 0.5972 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3625, allocations: 0 / 0.5972 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.3626, allocations: 20 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3626, allocations: 3.938 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3626, allocations: 0 / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3626, allocations: 4 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3626, allocations: 256 / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3628, allocations: 227.6 kB / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.3628, allocations: 11.92 kB / 0.5975 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3629, allocations: 7.938 kB / 0.5975 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.3629, allocations: 4 kB / 0.5975 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3629, allocations: 11.98 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3629, allocations: 4 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.363, allocations: 75.28 kB / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.363, allocations: 0 / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001834/0.3648, allocations: 366.9 kB / 0.5979 GB, free: 13.91 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.01405/0.3789, allocations: 4.747 MB / 0.6026 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.3792, allocations: 105.6 kB / 0.6027 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3792, allocations: 0 / 0.6027 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.3792, allocations: 39.98 kB / 0.6027 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.3797, allocations: 46.59 kB / 0.6028 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.3817, allocations: 418.2 kB / 0.6032 GB, free: 8.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.382, allocations: 0.6885 MB / 0.6038 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.3821, allocations: 23.86 kB / 0.6038 GB, free: 7.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.3821, allocations: 31.36 kB / 0.6039 GB, free: 7.711 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3821, allocations: 0 / 0.6039 GB, free: 7.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05058/0.4327, allocations: 20.27 MB / 0.6237 GB, free: 3.527 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.42, allocations: 9.469 kB / 0.6237 GB, free: 3.523 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.698875529000361]