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.001728/0.001728, allocations: 114 kB / 20.43 MB, free: 1.457 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.0017/0.0017, allocations: 213.3 kB / 23.74 MB, free: 4.672 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.2531/0.2531, allocations: 46.94 MB / 360.8 MB, free: 4.152 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.002265/0.002265, allocations: 84.16 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 66.07 MB / 0.5607 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.0126/0.3541, allocations: 8.49 MB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.3672, allocations: 11.27 MB / 0.58 GB, free: 452 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.3673, allocations: 4 kB / 0.58 GB, free: 448 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3675, allocations: 47.72 kB / 0.5801 GB, free: 400 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.3729, allocations: 1.863 MB / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.337e-06/0.3729, allocations: 0 / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.373, allocations: 47.61 kB / 0.5819 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.3731, allocations: 15.94 kB / 0.5819 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3733, allocations: 31.8 kB / 0.582 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.3733, allocations: 23.91 kB / 0.582 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.3733, allocations: 0 / 0.582 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.3841, allocations: 6.748 MB / 0.5886 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.3841, allocations: 0 / 0.5886 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.3842, allocations: 19.88 kB / 0.5886 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.3963, allocations: 5.1 MB / 0.5936 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3963, allocations: 0 / 0.5936 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3963, allocations: 4 kB / 0.5936 GB, free: 2.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3963, allocations: 0 / 0.5936 GB, free: 2.516 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.002979/0.3993, allocations: 0.5075 MB / 0.5941 GB, free: 1.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3993, allocations: 8.031 kB / 0.5941 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.3994, allocations: 38.56 kB / 0.5941 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3995, allocations: 7.984 kB / 0.5941 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3996, allocations: 113.1 kB / 0.5943 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.3996, allocations: 0 / 0.5943 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3996, allocations: 8 kB / 0.5943 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3998, allocations: 81.61 kB / 0.5943 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3998, allocations: 0 / 0.5943 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.3998, allocations: 0 / 0.5943 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3998, allocations: 8 kB / 0.5943 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3999, allocations: 79.95 kB / 0.5944 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.4004, allocations: 299.7 kB / 0.5947 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/0.4005, allocations: 38.52 kB / 0.5947 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.4005, allocations: 28.91 kB / 0.5948 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002899/0.4034, allocations: 0.7998 MB / 0.5956 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4034, allocations: 42.56 kB / 0.5956 GB, free: 340 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.4034, allocations: 0 / 0.5956 GB, free: 340 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002987/0.4037, allocations: 109.7 kB / 0.5957 GB, free: 224 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.4038, allocations: 51.41 kB / 0.5957 GB, free: 160 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.4039, allocations: 101.8 kB / 0.5958 GB, free: 48 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4039, allocations: 29.7 kB / 0.5959 GB, free: 12 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.4039, allocations: 88.03 kB / 0.596 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.404, allocations: 31.73 kB / 0.596 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.404, allocations: 21.72 kB / 0.596 GB, free: 15.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4041, allocations: 322.8 kB / 0.5963 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.992e-05/0.4042, allocations: 23.94 kB / 0.5963 GB, free: 15.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.4042, allocations: 37.7 kB / 0.5964 GB, free: 15.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/0.4043, allocations: 57.72 kB / 0.5964 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4043, allocations: 4 kB / 0.5964 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001613/0.4045, allocations: 98.12 kB / 0.5965 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4045, allocations: 14.31 kB / 0.5965 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4045, allocations: 0 / 0.5965 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4045, allocations: 4 kB / 0.5965 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.4046, allocations: 11.94 kB / 0.5966 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4046, allocations: 4 kB / 0.5966 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.4046, allocations: 0 / 0.5966 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.4046, allocations: 11.94 kB / 0.5966 GB, free: 15.26 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 8.392e-05/0.4047, allocations: 109.8 kB / 0.5967 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.4048, allocations: 11.94 kB / 0.5967 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.405, allocations: 153.7 kB / 0.5968 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/0.4052, allocations: 113.6 kB / 0.5969 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4052, allocations: 4 kB / 0.5969 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4052, allocations: 0 / 0.5969 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.4056, allocations: 409.3 kB / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4056, allocations: 0 / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.4057, allocations: 15.94 kB / 0.5973 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4057, allocations: 4.125 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4057, allocations: 11.98 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4057, allocations: 3.938 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4057, allocations: 0 / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.406, allocations: 219.5 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.406, allocations: 7.938 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.406, allocations: 3.938 kB / 0.5976 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.406, allocations: 8 kB / 0.5976 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.4061, allocations: 3.984 kB / 0.5976 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.4061, allocations: 8 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.4061, allocations: 87.22 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4061, allocations: 0 / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002052/0.4082, allocations: 362.9 kB / 0.598 GB, free: 13.67 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.01356/0.4217, allocations: 4.744 MB / 0.6027 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.422, allocations: 108.9 kB / 0.6028 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.422, allocations: 0 / 0.6028 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.4221, allocations: 47.92 kB / 0.6028 GB, free: 8.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4225, allocations: 40 kB / 0.6029 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.4242, allocations: 410.2 kB / 0.6032 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.4246, allocations: 0.6927 MB / 0.6039 GB, free: 7.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.4247, allocations: 19.69 kB / 0.6039 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.4247, allocations: 35.36 kB / 0.604 GB, free: 7.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4247, allocations: 0 / 0.604 GB, free: 7.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07519/0.4999, allocations: 20.25 MB / 0.6238 GB, free: 3.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.42, allocations: 3.781 kB / 0.6238 GB, free: 3.293 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: 15.840503876999719]