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.001708/0.001708, allocations: 112 kB / 20.48 MB, free: 1.27 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.002003/0.002003, allocations: 207.9 kB / 23.77 MB, free: 4.445 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.719 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.2276/0.2276, allocations: 46.94 MB / 360.8 MB, free: 3.887 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.002244/0.002244, allocations: 83.86 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 66.08 MB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01169/0.3311, allocations: 8.059 MB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.3434, allocations: 9.898 MB / 0.5783 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.3434, allocations: 0 / 0.5783 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.3436, allocations: 27.84 kB / 0.5783 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.3486, allocations: 1.851 MB / 0.5801 GB, free: 88 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.412e-06/0.3486, allocations: 0 / 0.5801 GB, free: 88 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3487, allocations: 51.67 kB / 0.5802 GB, free: 36 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.3488, allocations: 15.91 kB / 0.5802 GB, free: 20 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3489, allocations: 23.92 kB / 0.5802 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.3489, allocations: 23.81 kB / 0.5802 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.349, allocations: 3.984 kB / 0.5802 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00975/0.3587, allocations: 6.58 MB / 0.5867 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.3587, allocations: 7.875 kB / 0.5867 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.3588, allocations: 15.94 kB / 0.5867 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.3711, allocations: 5.088 MB / 0.5917 GB, free: 4.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3711, allocations: 4 kB / 0.5917 GB, free: 4.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3711, allocations: 7.938 kB / 0.5917 GB, free: 4.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3711, allocations: 0 / 0.5917 GB, free: 4.246 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.003193/0.3743, allocations: 0.5036 MB / 0.5922 GB, free: 3.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3744, allocations: 8.031 kB / 0.5922 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.3744, allocations: 34.56 kB / 0.5922 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.3746, allocations: 11.98 kB / 0.5922 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3747, allocations: 105.2 kB / 0.5923 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3747, allocations: 8 kB / 0.5923 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3747, allocations: 7.938 kB / 0.5923 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3749, allocations: 81.61 kB / 0.5924 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.375, allocations: 0 / 0.5924 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.375, allocations: 7.938 kB / 0.5924 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.375, allocations: 4 kB / 0.5924 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3751, allocations: 75.95 kB / 0.5925 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.3756, allocations: 295.8 kB / 0.5928 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.3756, allocations: 30.58 kB / 0.5928 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.3757, allocations: 33 kB / 0.5928 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/0.3787, allocations: 0.8114 MB / 0.5936 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3787, allocations: 34.56 kB / 0.5937 GB, free: 2.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3787, allocations: 0 / 0.5937 GB, free: 2.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002991/0.379, allocations: 113.6 kB / 0.5938 GB, free: 1.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3791, allocations: 51.41 kB / 0.5938 GB, free: 1.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.3791, allocations: 97.86 kB / 0.5939 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3792, allocations: 33.7 kB / 0.5939 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.3792, allocations: 88.03 kB / 0.594 GB, free: 1.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3792, allocations: 31.73 kB / 0.5941 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.3793, allocations: 25.7 kB / 0.5941 GB, free: 1.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3794, allocations: 314.8 kB / 0.5944 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.3795, allocations: 20 kB / 0.5944 GB, free: 1.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.3795, allocations: 37.7 kB / 0.5944 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.3796, allocations: 70.02 kB / 0.5945 GB, free: 1.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3796, allocations: 3.938 kB / 0.5945 GB, free: 1.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.3798, allocations: 97.77 kB / 0.5946 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3798, allocations: 6.031 kB / 0.5946 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3798, allocations: 7.922 kB / 0.5946 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3799, allocations: 3.984 kB / 0.5946 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.3799, allocations: 8 kB / 0.5946 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3799, allocations: 7.984 kB / 0.5946 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.3799, allocations: 4 kB / 0.5946 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.38, allocations: 4 kB / 0.5946 GB, free: 0.9961 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.413e-05/0.3801, allocations: 109.8 kB / 0.5947 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.3801, allocations: 7.953 kB / 0.5947 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.3804, allocations: 153.7 kB / 0.5949 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001646/0.3805, allocations: 117.6 kB / 0.595 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3805, allocations: 0 / 0.595 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3805, allocations: 256 / 0.595 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.3811, allocations: 409.2 kB / 0.5954 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.3811, allocations: 4 kB / 0.5954 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.3811, allocations: 19.98 kB / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3811, allocations: 3.938 kB / 0.5954 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3811, allocations: 4 kB / 0.5954 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3811, allocations: 4 kB / 0.5954 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3811, allocations: 0 / 0.5954 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3814, allocations: 227.5 kB / 0.5956 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.3814, allocations: 3.953 kB / 0.5957 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3814, allocations: 7.938 kB / 0.5957 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.3815, allocations: 4 kB / 0.5957 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.3815, allocations: 7.984 kB / 0.5957 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.3815, allocations: 0 / 0.5957 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.3816, allocations: 83.27 kB / 0.5958 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3816, allocations: 0 / 0.5958 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002293/0.3839, allocations: 363 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.01433/0.3982, allocations: 4.746 MB / 0.6007 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.3985, allocations: 105.5 kB / 0.6008 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.3985, allocations: 4 kB / 0.6008 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.3986, allocations: 39.98 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.0004811/0.3991, allocations: 48.69 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.001618/0.4007, allocations: 418.1 kB / 0.6013 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.649e-05/0.4007, allocations: 79.08 kB / 0.6014 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.4008, allocations: 19.92 kB / 0.6014 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.4009, allocations: 27.44 kB / 0.6014 GB, free: 9.84 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4009, allocations: 0 / 0.6014 GB, free: 9.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/0.4562, allocations: 20.84 MB / 0.6218 GB, free: 5.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.47, allocations: 6.953 kB / 0.6218 GB, free: 5.078 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.82052554609254]