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.001689/0.001689, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002038/0.002038, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.576/1.576, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2577/0.2577, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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.002399/0.002399, allocations: 79.86 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3688, allocations: 66.08 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01439/0.3832, allocations: 8.069 MB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.3965, allocations: 9.891 MB / 0.5782 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.3965, allocations: 0 / 0.5782 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.3968, allocations: 31.83 kB / 0.5783 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00554/0.4023, allocations: 1.847 MB / 0.5801 GB, free: 92 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.534e-06/0.4023, allocations: 0 / 0.5801 GB, free: 92 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.4024, allocations: 51.62 kB / 0.5801 GB, free: 40 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.4025, allocations: 11.92 kB / 0.5801 GB, free: 28 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.4027, allocations: 31.91 kB / 0.5802 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.4027, allocations: 11.94 kB / 0.5802 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.4027, allocations: 4 kB / 0.5802 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.4135, allocations: 6.584 MB / 0.5866 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.4135, allocations: 7.922 kB / 0.5866 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.4135, allocations: 15.94 kB / 0.5866 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.4287, allocations: 5.092 MB / 0.5916 GB, free: 4.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4287, allocations: 3.938 kB / 0.5916 GB, free: 4.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4287, allocations: 0 / 0.5916 GB, free: 4.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.4287, allocations: 0 / 0.5916 GB, free: 4.258 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.003067/0.4317, allocations: 0.5036 MB / 0.5921 GB, free: 3.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4318, allocations: 8.031 kB / 0.5921 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.4318, allocations: 34.56 kB / 0.5921 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4319, allocations: 11.98 kB / 0.5921 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4321, allocations: 109.1 kB / 0.5922 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4321, allocations: 4 kB / 0.5923 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.4321, allocations: 4 kB / 0.5923 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.4323, allocations: 93.53 kB / 0.5923 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4323, allocations: 3.984 kB / 0.5923 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4323, allocations: 4 kB / 0.5924 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4323, allocations: 4 kB / 0.5924 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.4324, allocations: 79.94 kB / 0.5924 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.4329, allocations: 291.8 kB / 0.5927 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.433, allocations: 42.5 kB / 0.5928 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.4331, allocations: 24.92 kB / 0.5928 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002934/0.436, allocations: 0.8076 MB / 0.5936 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.436, allocations: 38.56 kB / 0.5936 GB, free: 2.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.436, allocations: 0 / 0.5936 GB, free: 2.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003221/0.4364, allocations: 113.7 kB / 0.5937 GB, free: 1.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4364, allocations: 51.41 kB / 0.5938 GB, free: 1.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4365, allocations: 97.86 kB / 0.5939 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4365, allocations: 33.7 kB / 0.5939 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.4366, allocations: 92.02 kB / 0.594 GB, free: 1.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.4366, allocations: 27.75 kB / 0.594 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.4367, allocations: 25.7 kB / 0.594 GB, free: 1.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4368, allocations: 314.8 kB / 0.5943 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.4369, allocations: 23.98 kB / 0.5943 GB, free: 1.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.4369, allocations: 37.66 kB / 0.5944 GB, free: 1.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.437, allocations: 62.19 kB / 0.5944 GB, free: 1.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.437, allocations: 3.938 kB / 0.5944 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.4372, allocations: 101.5 kB / 0.5945 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4372, allocations: 8 kB / 0.5945 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4372, allocations: 0 / 0.5945 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4372, allocations: 0 / 0.5945 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.4373, allocations: 8 kB / 0.5946 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4373, allocations: 3.984 kB / 0.5946 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.4373, allocations: 4 kB / 0.5946 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.4373, allocations: 11.94 kB / 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 8.97e-05/0.4374, allocations: 109.8 kB / 0.5947 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.4375, allocations: 7.953 kB / 0.5947 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.4377, allocations: 149.8 kB / 0.5948 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001551/0.4379, allocations: 113.6 kB / 0.5949 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4379, allocations: 4.094 kB / 0.5949 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4379, allocations: 3.938 kB / 0.5949 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.4385, allocations: 405.3 kB / 0.5953 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4385, allocations: 0 / 0.5953 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.4385, allocations: 19.98 kB / 0.5954 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.4385, allocations: 3.938 kB / 0.5954 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4385, allocations: 4 kB / 0.5954 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4385, allocations: 4 kB / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4385, allocations: 0 / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.4388, allocations: 223.4 kB / 0.5956 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.4388, allocations: 7.953 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.4388, allocations: 3.938 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.4389, allocations: 8 kB / 0.5956 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.4389, allocations: 4.172 kB / 0.5956 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.4389, allocations: 4.25 kB / 0.5956 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.439, allocations: 87.25 kB / 0.5957 GB, free: 15.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.439, allocations: 3.938 kB / 0.5957 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002287/0.4413, allocations: 359 kB / 0.596 GB, free: 15.42 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.01471/0.456, allocations: 4.746 MB / 0.6007 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.4563, allocations: 109.5 kB / 0.6008 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4563, allocations: 0 / 0.6008 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.4564, allocations: 47.92 kB / 0.6008 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.0004692/0.4568, allocations: 44.47 kB / 0.6009 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.4591, allocations: 410.1 kB / 0.6013 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.4592, allocations: 83.08 kB / 0.6013 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.4593, allocations: 19.92 kB / 0.6013 GB, free: 9.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.4593, allocations: 27.44 kB / 0.6014 GB, free: 9.848 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4593, allocations: 0 / 0.6014 GB, free: 9.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.055/0.5143, allocations: 20.74 MB / 0.6216 GB, free: 5.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.69, allocations: 7.797 kB / 0.6216 GB, free: 5.18 MB / 462.1 MB " [Timeout remaining time 647] (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: 16.22722547268495]