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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 82.64 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01251/0.1381, allocations: 8.403 MB / 488.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.1503, allocations: 11.13 MB / 499.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.1504, allocations: 0 / 499.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1507, allocations: 43.78 kB / 499.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.1563, allocations: 1.797 MB / 0.4897 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.102e-05/0.1564, allocations: 0 / 0.4897 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1565, allocations: 51.66 kB / 0.4898 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.1566, allocations: 8 kB / 0.4898 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1567, allocations: 31.86 kB / 0.4898 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.1568, allocations: 23.84 kB / 0.4899 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.1568, allocations: 0 / 0.4899 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/0.1688, allocations: 6.639 MB / 0.4963 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.1689, allocations: 7.938 kB / 0.4963 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.169, allocations: 11.94 kB / 0.4964 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.1833, allocations: 4.644 MB / 0.5009 GB, free: 4.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1834, allocations: 0 / 0.5009 GB, free: 4.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1834, allocations: 0 / 0.5009 GB, free: 4.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1834, allocations: 7.938 kB / 0.5009 GB, free: 4.305 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.002482/0.1859, allocations: 0.5576 MB / 0.5014 GB, free: 3.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1859, allocations: 12.03 kB / 0.5015 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.186, allocations: 30.56 kB / 0.5015 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.1861, allocations: 11.98 kB / 0.5015 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1862, allocations: 171 kB / 0.5017 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1862, allocations: 0 / 0.5017 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1863, allocations: 7.938 kB / 0.5017 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1864, allocations: 81.61 kB / 0.5017 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1864, allocations: 0 / 0.5017 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1864, allocations: 0 / 0.5017 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1865, allocations: 3.938 kB / 0.5017 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1866, allocations: 79.95 kB / 0.5018 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.187, allocations: 320.7 kB / 0.5021 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.1871, allocations: 42.52 kB / 0.5022 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.1871, allocations: 32.91 kB / 0.5022 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003347/0.1905, allocations: 1.854 MB / 0.504 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1905, allocations: 30.56 kB / 0.504 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1906, allocations: 0 / 0.504 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003016/0.1909, allocations: 117.6 kB / 0.5042 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1909, allocations: 55.41 kB / 0.5042 GB, free: 476 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.191, allocations: 101.9 kB / 0.5043 GB, free: 364 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.191, allocations: 33.64 kB / 0.5043 GB, free: 324 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.1911, allocations: 88.03 kB / 0.5044 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.1911, allocations: 23.66 kB / 0.5044 GB, free: 208 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.1912, allocations: 29.61 kB / 0.5045 GB, free: 172 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2289/0.42, allocations: 318 kB / 0.5048 GB, free: 40.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.4202, allocations: 17.5 kB / 0.5048 GB, free: 40.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.4203, allocations: 33.92 kB / 0.5048 GB, free: 40.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.4204, allocations: 70.88 kB / 0.5049 GB, free: 40 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4204, allocations: 0.6562 kB / 0.5049 GB, free: 40 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002316/0.4206, allocations: 90.39 kB / 0.505 GB, free: 39.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4207, allocations: 6.234 kB / 0.505 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4207, allocations: 0 / 0.505 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4207, allocations: 0.8438 kB / 0.505 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.4208, allocations: 11.27 kB / 0.505 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4208, allocations: 4.594 kB / 0.505 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.4209, allocations: 8.312 kB / 0.505 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.4209, allocations: 3.859 kB / 0.505 GB, free: 39.96 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 7.822e-05/0.421, allocations: 112 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.421, allocations: 6.391 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.4213, allocations: 153.3 kB / 0.5053 GB, free: 39.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001586/0.4215, allocations: 117.3 kB / 0.5054 GB, free: 39.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4215, allocations: 5.422 kB / 0.5054 GB, free: 39.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4215, allocations: 0 / 0.5054 GB, free: 39.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.4221, allocations: 435.8 kB / 0.5058 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4221, allocations: 0.8438 kB / 0.5058 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.4222, allocations: 21.83 kB / 0.5058 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4222, allocations: 0.9375 kB / 0.5058 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4222, allocations: 2.359 kB / 0.5058 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4222, allocations: 3.156 kB / 0.5058 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4222, allocations: 1.391 kB / 0.5058 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.4224, allocations: 224.1 kB / 0.506 GB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.4225, allocations: 79.8 kB / 0.5061 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4225, allocations: 4.281 kB / 0.5061 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.4226, allocations: 4.312 kB / 0.5061 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.4226, allocations: 14.34 kB / 0.5061 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4226, allocations: 2.891 kB / 0.5061 GB, free: 39.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.536e-05/0.4226, allocations: 80.7 kB / 0.5062 GB, free: 39.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4226, allocations: 0.9688 kB / 0.5062 GB, free: 39.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002997/0.4256, allocations: 355.9 kB / 0.5066 GB, free: 39.17 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.01884/0.4445, allocations: 4.37 MB / 0.5108 GB, free: 36.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.4449, allocations: 119.2 kB / 0.5109 GB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4449, allocations: 0 / 0.5109 GB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.09e-05/0.445, allocations: 50.73 kB / 0.511 GB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.4455, allocations: 50.42 kB / 0.511 GB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.4476, allocations: 398.4 kB / 0.5114 GB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.4478, allocations: 0.6962 MB / 0.5121 GB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.62e-05/0.4479, allocations: 14.05 kB / 0.5121 GB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.4479, allocations: 28.72 kB / 0.5121 GB, free: 35.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4479, allocations: 0 / 0.5121 GB, free: 35.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/0.4933, allocations: 19.91 MB / 0.5316 GB, free: 26.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.096, allocations: 11.47 kB / 0.5316 GB, free: 26.38 MB / 382.1 MB (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.0004 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv","/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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches