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.001069/0.001069, allocations: 181.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007218/0.0007218, allocations: 101 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3249/0.3249, allocations: 43.57 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 19.98 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1048, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7204/0.8253, allocations: 299.9 MB / 0.7728 GB, free: 72.56 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.8256, allocations: 69.34 kB / 0.7728 GB, free: 72.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04099/0.8666, allocations: 20.14 MB / 0.7925 GB, free: 56.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.8667, allocations: 0 / 0.7925 GB, free: 56.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.8667, allocations: 4 kB / 0.7925 GB, free: 56.06 MB / 490.7 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.0008121/0.8675, allocations: 0.558 MB / 0.7931 GB, free: 55.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8676, allocations: 8.031 kB / 0.7931 GB, free: 55.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.8677, allocations: 28.66 kB / 0.7931 GB, free: 55.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.8679, allocations: 225.5 kB / 0.7933 GB, free: 55.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.27e-05/0.868, allocations: 121.9 kB / 0.7934 GB, free: 55.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.868, allocations: 22.88 kB / 0.7935 GB, free: 55.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.8685, allocations: 328.3 kB / 0.7938 GB, free: 54.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.8685, allocations: 3.938 kB / 0.7938 GB, free: 54.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.8685, allocations: 14.61 kB / 0.7938 GB, free: 54.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.8686, allocations: 7.984 kB / 0.7938 GB, free: 54.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.8692, allocations: 0.7339 MB / 0.7945 GB, free: 54.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.8701, allocations: 1.117 MB / 0.7956 GB, free: 53.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.8704, allocations: 152.2 kB / 0.7957 GB, free: 52.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.8705, allocations: 81.39 kB / 0.7958 GB, free: 52.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.872, allocations: 2.656 MB / 0.7984 GB, free: 49.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.8721, allocations: 37.5 kB / 0.7985 GB, free: 49.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.8721, allocations: 0 / 0.7985 GB, free: 49.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005711/0.8727, allocations: 219.3 kB / 0.7987 GB, free: 49.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.8727, allocations: 55.41 kB / 0.7987 GB, free: 49.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.8728, allocations: 214.9 kB / 0.7989 GB, free: 49.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.8729, allocations: 31.64 kB / 0.799 GB, free: 49.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.873, allocations: 208.2 kB / 0.7991 GB, free: 49.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.873, allocations: 61.02 kB / 0.7992 GB, free: 49.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.873, allocations: 11.31 kB / 0.7992 GB, free: 49.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.8731, allocations: 325.2 kB / 0.7995 GB, free: 48.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.8731, allocations: 51.03 kB / 0.7996 GB, free: 48.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.8733, allocations: 323.2 kB / 0.7999 GB, free: 48.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.8736, allocations: 418.5 kB / 0.8003 GB, free: 47.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.8736, allocations: 4 kB / 0.8003 GB, free: 47.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004188/0.874, allocations: 371.1 kB / 0.8006 GB, free: 47.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8741, allocations: 8 kB / 0.8006 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8741, allocations: 12 kB / 0.8007 GB, free: 47.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.8741, allocations: 12 kB / 0.8007 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.8744, allocations: 107.2 kB / 0.8008 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.8744, allocations: 16.44 kB / 0.8008 GB, free: 47.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.8746, allocations: 29.06 kB / 0.8008 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.8747, allocations: 31.11 kB / 0.8008 GB, free: 47.24 MB / 490.7 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 () * Number of clocked 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 9.592e-05/0.8748, allocations: 147.8 kB / 0.801 GB, free: 47.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.8748, allocations: 19.88 kB / 0.801 GB, free: 47.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.8751, allocations: 163.6 kB / 0.8012 GB, free: 46.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.8751, allocations: 48 / 0.8012 GB, free: 46.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8751, allocations: 3.984 kB / 0.8012 GB, free: 46.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8752, allocations: 7.938 kB / 0.8012 GB, free: 46.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.8756, allocations: 437.1 kB / 0.8016 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8756, allocations: 0 / 0.8016 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.8758, allocations: 35.97 kB / 0.8016 GB, free: 46.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8758, allocations: 0 / 0.8016 GB, free: 46.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.8758, allocations: 7.938 kB / 0.8016 GB, free: 46.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8758, allocations: 0 / 0.8016 GB, free: 46.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8758, allocations: 3.938 kB / 0.8016 GB, free: 46.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.876, allocations: 216.2 kB / 0.8018 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.876, allocations: 108.8 kB / 0.8019 GB, free: 46.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.8761, allocations: 7.938 kB / 0.802 GB, free: 46.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.8762, allocations: 11.98 kB / 0.802 GB, free: 46.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.8763, allocations: 7.984 kB / 0.802 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.8763, allocations: 4 kB / 0.802 GB, free: 46.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.197e-05/0.8764, allocations: 152.5 kB / 0.8021 GB, free: 45.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8764, allocations: 3.938 kB / 0.8021 GB, free: 45.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.8769, allocations: 103.9 kB / 0.8022 GB, free: 45.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0002254/0.8771, allocations: 186 kB / 0.8024 GB, free: 45.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.8773, allocations: 168.5 kB / 0.8026 GB, free: 45.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8773, allocations: 0 / 0.8026 GB, free: 45.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.8774, allocations: 45.61 kB / 0.8026 GB, free: 45.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.8778, allocations: 53.02 kB / 0.8027 GB, free: 45.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.8859, allocations: 4.859 MB / 0.8074 GB, free: 40.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.886, allocations: 0.7287 MB / 0.8081 GB, free: 39.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.8861, allocations: 35.42 kB / 0.8081 GB, free: 39.61 MB / 490.7 MB Notification: Performance of SimCode: time 6.72e-07/0.8861, allocations: 0 / 0.8081 GB, free: 39.61 MB / 490.7 MB Notification: Performance of Templates: time 0.004598/0.8907, allocations: 3.508 MB / 0.8116 GB, free: 36.11 MB / 490.7 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