Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008073/0.0008074, allocations: 92.78 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 176.6 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1734/0.1734, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003113, allocations: 11.98 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09877, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009837/0.1087, allocations: 7.843 MB / 480.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.1232, allocations: 11.28 MB / 491.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.1233, allocations: 0 / 491.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1236, allocations: 43.72 kB / 491.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006161/0.1298, allocations: 1.451 MB / 493 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.348e-06/0.1298, allocations: 0 / 493 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1299, allocations: 47.67 kB / 493 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.13, allocations: 7.984 kB / 493 MB, free: 8.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1302, allocations: 31.86 kB / 493.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.1302, allocations: 11.94 kB / 493.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-06/0.1302, allocations: 0 / 493.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/0.1493, allocations: 14.38 MB / 0.4956 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1493, allocations: 11.94 kB / 0.4956 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.1494, allocations: 37.64 kB / 0.4956 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.1659, allocations: 8.145 MB / 0.5036 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1659, allocations: 4 kB / 0.5036 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.166, allocations: 4 kB / 0.5036 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.166, allocations: 0 / 0.5036 GB, free: 1.781 MB / 382.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.002542/0.1685, allocations: 0.5497 MB / 0.5041 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1686, allocations: 8.031 kB / 0.5041 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.1686, allocations: 38.55 kB / 0.5042 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1687, allocations: 8 kB / 0.5042 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1689, allocations: 167 kB / 0.5043 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1689, allocations: 3.938 kB / 0.5043 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1689, allocations: 12 kB / 0.5043 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1691, allocations: 73.67 kB / 0.5044 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1691, allocations: 0 / 0.5044 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1691, allocations: 0 / 0.5044 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1691, allocations: 4 kB / 0.5044 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1692, allocations: 71.97 kB / 0.5045 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.1697, allocations: 328.6 kB / 0.5048 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.615e-05/0.1698, allocations: 42.58 kB / 0.5048 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.1698, allocations: 36.91 kB / 0.5049 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1866/0.3565, allocations: 1.676 MB / 0.5065 GB, free: 47.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3565, allocations: 33.78 kB / 0.5065 GB, free: 47.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.993e-06/0.3565, allocations: 0 / 0.5065 GB, free: 47.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000308/0.3569, allocations: 112.3 kB / 0.5066 GB, free: 47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.3569, allocations: 61.45 kB / 0.5067 GB, free: 46.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.3569, allocations: 95.52 kB / 0.5068 GB, free: 46.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.357, allocations: 29.02 kB / 0.5068 GB, free: 46.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.357, allocations: 85.83 kB / 0.5069 GB, free: 46.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.357, allocations: 29.23 kB / 0.5069 GB, free: 46.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.357, allocations: 16.58 kB / 0.5069 GB, free: 46.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.3571, allocations: 314.7 kB / 0.5072 GB, free: 46.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.3571, allocations: 22.19 kB / 0.5073 GB, free: 46.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.3572, allocations: 35.86 kB / 0.5073 GB, free: 46.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.3573, allocations: 63.83 kB / 0.5074 GB, free: 46.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3573, allocations: 5.172 kB / 0.5074 GB, free: 46.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001559/0.3575, allocations: 94.88 kB / 0.5075 GB, free: 46.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3575, allocations: 4.625 kB / 0.5075 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3575, allocations: 1.312 kB / 0.5075 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3575, allocations: 0.7031 kB / 0.5075 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.3576, allocations: 12.56 kB / 0.5075 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3576, allocations: 8.062 kB / 0.5075 GB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.3576, allocations: 4.844 kB / 0.5075 GB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3577, allocations: 5.031 kB / 0.5075 GB, free: 46.32 MB / 382.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 5.419e-05/0.3577, allocations: 126 kB / 0.5076 GB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3578, allocations: 2.5 kB / 0.5076 GB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.358, allocations: 145.9 kB / 0.5078 GB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/0.3581, allocations: 122.6 kB / 0.5079 GB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3581, allocations: 96 / 0.5079 GB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3581, allocations: 4.688 kB / 0.5079 GB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.3585, allocations: 432.1 kB / 0.5083 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3585, allocations: 0.5156 kB / 0.5083 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.3586, allocations: 15.02 kB / 0.5083 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3586, allocations: 0 / 0.5083 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3586, allocations: 7.25 kB / 0.5083 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3586, allocations: 5.312 kB / 0.5083 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3586, allocations: 0 / 0.5083 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.3588, allocations: 220.3 kB / 0.5085 GB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.3588, allocations: 87.55 kB / 0.5086 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3588, allocations: 2.125 kB / 0.5086 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.3589, allocations: 5.312 kB / 0.5086 GB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.3589, allocations: 8.656 kB / 0.5086 GB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3589, allocations: 6.031 kB / 0.5086 GB, free: 45.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.536e-05/0.359, allocations: 77.19 kB / 0.5087 GB, free: 45.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.359, allocations: 0 / 0.5087 GB, free: 45.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001736/0.3607, allocations: 343.3 kB / 0.509 GB, free: 45.49 MB / 382.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.01731/0.378, allocations: 4.37 MB / 0.5133 GB, free: 43.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.3783, allocations: 123.2 kB / 0.5134 GB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3783, allocations: 0 / 0.5134 GB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.3784, allocations: 52.84 kB / 0.5135 GB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.3788, allocations: 45.11 kB / 0.5135 GB, free: 43.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3805, allocations: 415.7 kB / 0.5139 GB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.3806, allocations: 0.6943 MB / 0.5146 GB, free: 42.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.3807, allocations: 15.86 kB / 0.5146 GB, free: 42.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3807, allocations: 25.98 kB / 0.5146 GB, free: 42.13 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3807, allocations: 0 / 0.5146 GB, free: 42.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.4164, allocations: 19.42 MB / 0.5336 GB, free: 31.17 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/0.4166, allocations: 206.4 kB / 0.5338 GB, free: 30.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.206, allocations: 3.938 kB / 0.5338 GB, free: 30.91 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches