Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001364/0.001364, allocations: 110 kB / 20.43 MB, free: 1.453 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.001499/0.001499, allocations: 213.9 kB / 23.74 MB, free: 4.66 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2212/0.2212, allocations: 46.92 MB / 360.8 MB, free: 4.184 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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 75.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3016, allocations: 66.09 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01245/0.3141, allocations: 8.478 MB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.3269, allocations: 11.27 MB / 0.58 GB, free: 488 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.3269, allocations: 0 / 0.58 GB, free: 488 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3271, allocations: 39.8 kB / 0.58 GB, free: 448 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.332, allocations: 1.867 MB / 0.5819 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.131e-06/0.332, allocations: 0 / 0.5819 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3321, allocations: 51.61 kB / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.3322, allocations: 7.938 kB / 0.5819 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3323, allocations: 31.84 kB / 0.582 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.3323, allocations: 19.92 kB / 0.582 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.3323, allocations: 0 / 0.582 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.3427, allocations: 6.756 MB / 0.5886 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.3427, allocations: 3.938 kB / 0.5886 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.3428, allocations: 23.86 kB / 0.5886 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.3544, allocations: 5.092 MB / 0.5936 GB, free: 2.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3544, allocations: 4 kB / 0.5936 GB, free: 2.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3544, allocations: 0 / 0.5936 GB, free: 2.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3544, allocations: 3.938 kB / 0.5936 GB, free: 2.555 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.002904/0.3573, allocations: 0.5036 MB / 0.5941 GB, free: 2.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3574, allocations: 12.03 kB / 0.5941 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.3574, allocations: 34.55 kB / 0.5941 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.3575, allocations: 12 kB / 0.5941 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3576, allocations: 109.2 kB / 0.5942 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3577, allocations: 3.938 kB / 0.5942 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3577, allocations: 7.984 kB / 0.5942 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3578, allocations: 85.55 kB / 0.5943 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3579, allocations: 0 / 0.5943 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.3579, allocations: 0 / 0.5943 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3579, allocations: 7.984 kB / 0.5943 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.358, allocations: 83.97 kB / 0.5944 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.3585, allocations: 295.8 kB / 0.5947 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.3585, allocations: 38.58 kB / 0.5947 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.3586, allocations: 29.05 kB / 0.5948 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0029/0.3615, allocations: 0.8036 MB / 0.5955 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3615, allocations: 34.56 kB / 0.5956 GB, free: 380 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3615, allocations: 0 / 0.5956 GB, free: 380 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002864/0.3618, allocations: 113.6 kB / 0.5957 GB, free: 260 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3619, allocations: 55.41 kB / 0.5957 GB, free: 192 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.3619, allocations: 97.84 kB / 0.5958 GB, free: 84 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.362, allocations: 25.7 kB / 0.5959 GB, free: 52 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.362, allocations: 92.03 kB / 0.5959 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.3621, allocations: 31.72 kB / 0.596 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.3621, allocations: 25.72 kB / 0.596 GB, free: 15.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3623, allocations: 318.8 kB / 0.5963 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.3623, allocations: 20 kB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.3624, allocations: 41.7 kB / 0.5964 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.3625, allocations: 61.97 kB / 0.5964 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3625, allocations: 0 / 0.5964 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001612/0.3626, allocations: 101.6 kB / 0.5965 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3626, allocations: 11.94 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3626, allocations: 0 / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3627, allocations: 0 / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.3627, allocations: 8 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3627, allocations: 4.031 kB / 0.5965 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.3628, allocations: 4 kB / 0.5965 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3628, allocations: 0 / 0.5965 GB, free: 15.31 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.461e-05/0.3629, allocations: 121.8 kB / 0.5967 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.3629, allocations: 7.953 kB / 0.5967 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.3631, allocations: 145.6 kB / 0.5968 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001504/0.3633, allocations: 117.7 kB / 0.5969 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3633, allocations: 4 kB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3633, allocations: 4 kB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.3638, allocations: 405.3 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3638, allocations: 0 / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.3639, allocations: 19.98 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3639, allocations: 3.938 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3639, allocations: 4 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3639, allocations: 0 / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3639, allocations: 0 / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3641, allocations: 230.4 kB / 0.5976 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.3641, allocations: 8.125 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3641, allocations: 3.938 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.3642, allocations: 8.234 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.3642, allocations: 7.984 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3642, allocations: 8 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.3643, allocations: 79.27 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3643, allocations: 4 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001855/0.3661, allocations: 370.8 kB / 0.598 GB, free: 13.71 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.3797, allocations: 4.735 MB / 0.6026 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.38, allocations: 109.5 kB / 0.6028 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.38, allocations: 4.062 kB / 0.6028 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.3801, allocations: 39.98 kB / 0.6028 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3805, allocations: 39.94 kB / 0.6028 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.382, allocations: 414.2 kB / 0.6032 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3823, allocations: 0.6924 MB / 0.6039 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.11e-05/0.3824, allocations: 15.88 kB / 0.6039 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.3824, allocations: 31.42 kB / 0.6039 GB, free: 7.527 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3824, allocations: 0 / 0.6039 GB, free: 7.527 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05402/0.4365, allocations: 20.26 MB / 0.6237 GB, free: 3.328 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.31, allocations: 10.59 kB / 0.6237 GB, free: 3.324 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable h in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable h from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable mu in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable mu from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable cp in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable cp from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable k in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable k from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.564943323006446]