Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001384, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001136/0.001136, allocations: 87.47 kB / 262.1 MB, free: 13.89 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.2981/0.2981, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.69e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/1.15, allocations: 299.1 MB / 0.758 GB, free: 37.18 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.151, allocations: 67.91 kB / 0.758 GB, free: 37.15 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0704/1.221, allocations: 20.04 MB / 0.7776 GB, free: 21 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.905e-06/1.221, allocations: 4 kB / 0.7776 GB, free: 20.99 MB / 475.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/1.221, allocations: 7.938 kB / 0.7776 GB, free: 20.98 MB / 475.1 MB 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.001097/1.222, allocations: 0.5516 MB / 0.7782 GB, free: 20.41 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.222, allocations: 8.031 kB / 0.7782 GB, free: 20.4 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/1.223, allocations: 23.81 kB / 0.7782 GB, free: 20.38 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/1.223, allocations: 233.1 kB / 0.7784 GB, free: 20.12 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/1.223, allocations: 123.4 kB / 0.7785 GB, free: 19.98 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/1.223, allocations: 12 kB / 0.7785 GB, free: 19.96 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009917/1.224, allocations: 0.7095 MB / 0.7792 GB, free: 19.37 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/1.225, allocations: 279.6 kB / 0.7795 GB, free: 19.12 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/1.225, allocations: 0 / 0.7795 GB, free: 19.12 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/1.225, allocations: 0 / 0.7795 GB, free: 19.12 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/1.225, allocations: 12 kB / 0.7795 GB, free: 19.11 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/1.228, allocations: 3.193 MB / 0.7826 GB, free: 15.55 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/1.228, allocations: 52.97 kB / 0.7827 GB, free: 15.5 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/1.228, allocations: 20.61 kB / 0.7827 GB, free: 15.48 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/1.228, allocations: 166.2 kB / 0.7829 GB, free: 15.29 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/1.228, allocations: 38.25 kB / 0.7829 GB, free: 15.24 MB / 475.1 MB Notification: Performance of pre-optimization done (n=8): time 2.996e-06/1.228, allocations: 0 / 0.7829 GB, free: 15.24 MB / 475.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007003/1.229, allocations: 147.8 kB / 0.783 GB, free: 15.1 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/1.229, allocations: 55.39 kB / 0.7831 GB, free: 15.04 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/1.229, allocations: 199.7 kB / 0.7833 GB, free: 14.86 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/1.229, allocations: 25.7 kB / 0.7833 GB, free: 14.83 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.229, allocations: 298.2 kB / 0.7836 GB, free: 14.55 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/1.23, allocations: 34.97 kB / 0.7836 GB, free: 14.52 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/1.23, allocations: 0 / 0.7836 GB, free: 14.52 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/1.23, allocations: 333.2 kB / 0.7839 GB, free: 14.2 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/1.23, allocations: 32.12 kB / 0.784 GB, free: 14.17 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/1.23, allocations: 314.1 kB / 0.7843 GB, free: 13.76 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/1.23, allocations: 102 kB / 0.7844 GB, free: 13.67 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.23, allocations: 4 kB / 0.7844 GB, free: 13.67 MB / 475.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008728/1.231, allocations: 317.6 kB / 0.7847 GB, free: 13.38 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.231, allocations: 8 kB / 0.7847 GB, free: 13.37 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.231, allocations: 16.81 kB / 0.7847 GB, free: 13.36 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/1.231, allocations: 12 kB / 0.7847 GB, free: 13.34 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/1.232, allocations: 115.4 kB / 0.7848 GB, free: 13.23 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/1.232, allocations: 23.92 kB / 0.7848 GB, free: 13.21 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/1.233, allocations: 8 kB / 0.7849 GB, free: 13.2 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/1.233, allocations: 27.44 kB / 0.7849 GB, free: 13.18 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001132/1.233, allocations: 124.4 kB / 0.785 GB, free: 13.05 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/1.233, allocations: 27.7 kB / 0.785 GB, free: 13.03 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/1.233, allocations: 102.7 kB / 0.7851 GB, free: 12.93 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.233, allocations: 4 kB / 0.7851 GB, free: 12.93 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.233, allocations: 0 / 0.7851 GB, free: 12.93 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.233, allocations: 0 / 0.7851 GB, free: 12.93 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/1.234, allocations: 376.9 kB / 0.7855 GB, free: 12.55 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.234, allocations: 0 / 0.7855 GB, free: 12.55 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/1.234, allocations: 24.14 kB / 0.7855 GB, free: 12.52 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.234, allocations: 8 kB / 0.7855 GB, free: 12.52 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/1.234, allocations: 11.98 kB / 0.7855 GB, free: 12.5 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.234, allocations: 0 / 0.7855 GB, free: 12.5 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.234, allocations: 0 / 0.7855 GB, free: 12.5 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/1.234, allocations: 219.4 kB / 0.7857 GB, free: 12.27 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.234, allocations: 112.1 kB / 0.7858 GB, free: 12.14 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/1.234, allocations: 4 kB / 0.7858 GB, free: 12.14 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/1.235, allocations: 7.984 kB / 0.7859 GB, free: 12.13 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/1.235, allocations: 15.52 kB / 0.7859 GB, free: 12.12 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/1.235, allocations: 7.984 kB / 0.7859 GB, free: 12.11 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0001192/1.235, allocations: 138.6 kB / 0.786 GB, free: 11.99 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.235, allocations: 0 / 0.786 GB, free: 11.99 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.000726/1.236, allocations: 91.92 kB / 0.7861 GB, free: 11.91 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0003029/1.236, allocations: 169.8 kB / 0.7863 GB, free: 11.73 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/1.236, allocations: 146 kB / 0.7864 GB, free: 11.61 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.236, allocations: 0 / 0.7864 GB, free: 11.61 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/1.236, allocations: 23.3 kB / 0.7864 GB, free: 11.59 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/1.237, allocations: 23.05 kB / 0.7864 GB, free: 11.57 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/1.237, allocations: 220.1 kB / 0.7867 GB, free: 11.34 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/1.238, allocations: 0.7326 MB / 0.7874 GB, free: 10.58 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/1.238, allocations: 35.17 kB / 0.7874 GB, free: 10.55 MB / 475.1 MB Notification: Performance of SimCode: time 7.82e-07/1.238, allocations: 0 / 0.7874 GB, free: 10.55 MB / 475.1 MB Notification: Performance of Templates: time 0.007669/1.245, allocations: 3.494 MB / 0.7908 GB, free: 7.062 MB / 475.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches