Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 91.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3077/0.3077, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.049e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4106, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.087/9.498, allocations: 3.076 GB / 3.541 GB, free: 82.16 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/9.498, allocations: 74.97 kB / 3.542 GB, free: 82.14 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.142/10.64, allocations: 208.2 MB / 3.745 GB, free: 77.73 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.975e-06/10.64, allocations: 0 / 3.745 GB, free: 77.73 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 2.144e-05/10.64, allocations: 4 kB / 3.745 GB, free: 77.72 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.007361/10.65, allocations: 1.148 MB / 3.746 GB, free: 76.6 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/10.65, allocations: 8.031 kB / 3.746 GB, free: 76.59 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/10.65, allocations: 31.19 kB / 3.746 GB, free: 76.57 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/10.65, allocations: 219.4 kB / 3.746 GB, free: 76.33 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/10.65, allocations: 122.8 kB / 3.746 GB, free: 76.19 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/10.65, allocations: 12 kB / 3.746 GB, free: 76.18 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/10.65, allocations: 0.7108 MB / 3.747 GB, free: 75.66 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/10.65, allocations: 293 kB / 3.747 GB, free: 75.39 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/10.65, allocations: 0 / 3.747 GB, free: 75.39 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/10.65, allocations: 0 / 3.747 GB, free: 75.39 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/10.65, allocations: 11.7 kB / 3.747 GB, free: 75.38 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0055/10.66, allocations: 3.494 MB / 3.751 GB, free: 71.5 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/10.66, allocations: 50.23 kB / 3.751 GB, free: 71.45 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/10.66, allocations: 17.08 kB / 3.751 GB, free: 71.43 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/10.66, allocations: 453.5 kB / 3.751 GB, free: 70.97 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/10.66, allocations: 30.56 kB / 3.751 GB, free: 70.93 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=1): time 4.93e-06/10.66, allocations: 0 / 3.751 GB, free: 70.93 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1): time 0.0003303/10.66, allocations: 53.12 kB / 3.751 GB, free: 70.88 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/10.66, allocations: 51.41 kB / 3.751 GB, free: 70.81 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/10.66, allocations: 216.8 kB / 3.752 GB, free: 70.61 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/10.66, allocations: 33.44 kB / 3.752 GB, free: 70.57 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/10.66, allocations: 316.1 kB / 3.752 GB, free: 70.27 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/10.66, allocations: 15.56 kB / 3.752 GB, free: 70.26 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/10.66, allocations: 0 / 3.752 GB, free: 70.26 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001055/10.66, allocations: 334.2 kB / 3.752 GB, free: 69.93 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/10.66, allocations: 36.91 kB / 3.752 GB, free: 69.9 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/10.66, allocations: 335.4 kB / 3.753 GB, free: 69.43 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/10.66, allocations: 118.5 kB / 3.753 GB, free: 69.33 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/10.66, allocations: 4 kB / 3.753 GB, free: 69.33 MB / 0.4952 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001666/10.66, allocations: 334 kB / 3.753 GB, free: 69.04 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/10.66, allocations: 8 kB / 3.753 GB, free: 69.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/10.66, allocations: 12.91 kB / 3.753 GB, free: 69.02 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.821e-05/10.66, allocations: 16 kB / 3.753 GB, free: 69 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/10.66, allocations: 102.2 kB / 3.753 GB, free: 68.91 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/10.66, allocations: 23.59 kB / 3.753 GB, free: 68.89 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/10.67, allocations: 47.44 kB / 3.753 GB, free: 68.84 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/10.67, allocations: 31.8 kB / 3.753 GB, free: 68.82 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/10.67, allocations: 132.7 kB / 3.753 GB, free: 68.68 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/10.67, allocations: 19.75 kB / 3.753 GB, free: 68.66 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/10.67, allocations: 16.89 kB / 3.753 GB, free: 68.64 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/10.67, allocations: 8 kB / 3.753 GB, free: 68.64 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.008e-06/10.67, allocations: 0 / 3.753 GB, free: 68.64 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/10.67, allocations: 3.938 kB / 3.753 GB, free: 68.63 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/10.67, allocations: 177.2 kB / 3.754 GB, free: 68.44 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/10.67, allocations: 0 / 3.754 GB, free: 68.44 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/10.67, allocations: 0 / 3.754 GB, free: 68.44 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/10.67, allocations: 0 / 3.754 GB, free: 68.44 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/10.67, allocations: 0 / 3.754 GB, free: 68.44 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/10.67, allocations: 4 kB / 3.754 GB, free: 68.43 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/10.67, allocations: 0 / 3.754 GB, free: 68.43 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/10.67, allocations: 158 kB / 3.754 GB, free: 68.27 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/10.67, allocations: 108.3 kB / 3.754 GB, free: 68.15 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/10.67, allocations: 0 / 3.754 GB, free: 68.15 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/10.67, allocations: 0 / 3.754 GB, free: 68.15 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/10.67, allocations: 0 / 3.754 GB, free: 68.15 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/10.67, allocations: 7.703 kB / 3.754 GB, free: 68.15 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0002154/10.67, allocations: 145.3 kB / 3.754 GB, free: 68.01 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.21e-07/10.67, allocations: 0 / 3.754 GB, free: 68.01 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001375/10.67, allocations: 103.7 kB / 3.754 GB, free: 67.91 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007287/10.67, allocations: 309.5 kB / 3.754 GB, free: 67.65 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0005487/10.67, allocations: 125.4 kB / 3.755 GB, free: 67.54 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/10.67, allocations: 7.938 kB / 3.755 GB, free: 67.53 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 1.909e-05/10.67, allocations: 0 / 3.755 GB, free: 67.53 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/10.67, allocations: 25.09 kB / 3.755 GB, free: 67.51 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8111/11.48, allocations: 95.68 MB / 3.848 GB, free: 67.24 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/11.48, allocations: 0.724 MB / 3.849 GB, free: 66.54 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/11.48, allocations: 26.98 kB / 3.849 GB, free: 66.54 MB / 0.4952 GB Notification: Performance of SimCode: time 1.223e-06/11.48, allocations: 2.938 kB / 3.849 GB, free: 66.54 MB / 0.4952 GB Notification: Performance of Templates: time 0.008625/11.49, allocations: 4.043 MB / 3.853 GB, free: 66.46 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches