Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 107.9 kB / 20.48 MB, free: 1.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001999/0.001999, allocations: 214 kB / 23.78 MB, free: 4.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.96 MB / 360.9 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 79.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3091, allocations: 66.08 MB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01198/0.3211, allocations: 8.063 MB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.3334, allocations: 9.894 MB / 0.5783 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.3335, allocations: 4 kB / 0.5783 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3337, allocations: 31.81 kB / 0.5783 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.3393, allocations: 1.851 MB / 0.5801 GB, free: 80 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.973e-06/0.3393, allocations: 0 / 0.5801 GB, free: 80 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3394, allocations: 47.67 kB / 0.5802 GB, free: 32 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.3394, allocations: 3.938 kB / 0.5802 GB, free: 28 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3396, allocations: 35.89 kB / 0.5802 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.3396, allocations: 15.88 kB / 0.5802 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.3396, allocations: 0 / 0.5802 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.3502, allocations: 6.596 MB / 0.5867 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.3502, allocations: 0 / 0.5867 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.3502, allocations: 15.94 kB / 0.5867 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.3639, allocations: 5.096 MB / 0.5917 GB, free: 4.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3639, allocations: 0 / 0.5917 GB, free: 4.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3639, allocations: 0 / 0.5917 GB, free: 4.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3639, allocations: 0 / 0.5917 GB, free: 4.25 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.00265/0.3666, allocations: 0.4997 MB / 0.5921 GB, free: 3.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3666, allocations: 16.02 kB / 0.5922 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.3667, allocations: 38.56 kB / 0.5922 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3668, allocations: 7.938 kB / 0.5922 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3669, allocations: 113.2 kB / 0.5923 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3669, allocations: 4 kB / 0.5923 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3669, allocations: 4 kB / 0.5923 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3671, allocations: 89.55 kB / 0.5924 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3671, allocations: 0 / 0.5924 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.3671, allocations: 0 / 0.5924 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3671, allocations: 0 / 0.5924 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3672, allocations: 79.91 kB / 0.5925 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.3677, allocations: 299.8 kB / 0.5928 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.3677, allocations: 38.58 kB / 0.5928 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.3678, allocations: 28.91 kB / 0.5928 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002889/0.3707, allocations: 0.7997 MB / 0.5936 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3707, allocations: 38.56 kB / 0.5936 GB, free: 2.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3707, allocations: 96 / 0.5936 GB, free: 2.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002864/0.371, allocations: 109.6 kB / 0.5938 GB, free: 1.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.371, allocations: 51.41 kB / 0.5938 GB, free: 1.895 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.3711, allocations: 101.8 kB / 0.5939 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.3711, allocations: 25.7 kB / 0.5939 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.3712, allocations: 95.97 kB / 0.594 GB, free: 1.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3712, allocations: 35.72 kB / 0.594 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.3713, allocations: 17.72 kB / 0.5941 GB, free: 1.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3714, allocations: 326.8 kB / 0.5944 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.3715, allocations: 16.11 kB / 0.5944 GB, free: 1.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.653e-05/0.3715, allocations: 45.64 kB / 0.5944 GB, free: 1.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.537e-05/0.3716, allocations: 58.22 kB / 0.5945 GB, free: 1.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3716, allocations: 4 kB / 0.5945 GB, free: 1.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.3718, allocations: 101.5 kB / 0.5946 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3718, allocations: 14.12 kB / 0.5946 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3718, allocations: 0 / 0.5946 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3718, allocations: 0 / 0.5946 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.3719, allocations: 12 kB / 0.5946 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3719, allocations: 0 / 0.5946 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.3719, allocations: 8.031 kB / 0.5946 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3719, allocations: 0 / 0.5946 GB, free: 1 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.0001053/0.372, allocations: 117.8 kB / 0.5947 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.3721, allocations: 11.94 kB / 0.5947 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3724, allocations: 141.7 kB / 0.5949 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000152/0.3725, allocations: 113.7 kB / 0.595 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3725, allocations: 288 / 0.595 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3725, allocations: 3.938 kB / 0.595 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.373, allocations: 412.3 kB / 0.5954 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.373, allocations: 8 kB / 0.5954 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.3731, allocations: 15.94 kB / 0.5954 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3731, allocations: 3.938 kB / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3731, allocations: 0 / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3731, allocations: 0 / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.3731, allocations: 4 kB / 0.5954 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3734, allocations: 223.5 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.3734, allocations: 7.953 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3734, allocations: 3.938 kB / 0.5956 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.3734, allocations: 7.938 kB / 0.5957 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.3735, allocations: 11.98 kB / 0.5957 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3735, allocations: 7.938 kB / 0.5957 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.838e-05/0.3735, allocations: 79.28 kB / 0.5957 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3735, allocations: 4 kB / 0.5958 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002015/0.3755, allocations: 358.9 kB / 0.5961 GB, free: 15.41 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.01359/0.3891, allocations: 4.747 MB / 0.6007 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3894, allocations: 101.7 kB / 0.6008 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3894, allocations: 4.062 kB / 0.6008 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.3894, allocations: 47.92 kB / 0.6009 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.3899, allocations: 32.44 kB / 0.6009 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3915, allocations: 418.1 kB / 0.6013 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.737e-05/0.3915, allocations: 79.08 kB / 0.6014 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.3916, allocations: 15.92 kB / 0.6014 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.3916, allocations: 31.42 kB / 0.6014 GB, free: 9.848 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3916, allocations: 0 / 0.6014 GB, free: 9.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05395/0.4456, allocations: 20.77 MB / 0.6217 GB, free: 5.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.27, allocations: 5.984 kB / 0.6217 GB, free: 5.16 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable h in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable h from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable mu in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable mu from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable cp in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable cp from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable k in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable k from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.56690978910774]