Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009278, allocations: 93.97 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.385e-05, allocations: 0 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1526, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.156, allocations: 300.4 MB / 0.788 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.156, allocations: 75.52 kB / 0.7881 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05696/1.213, allocations: 20.53 MB / 0.8081 GB, free: 71.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/1.213, allocations: 0 / 0.8081 GB, free: 71.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.412e-05/1.213, allocations: 4 kB / 0.8081 GB, free: 71.43 MB / 0.4948 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.0008115/1.214, allocations: 0.5441 MB / 0.8087 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.214, allocations: 15.98 kB / 0.8087 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/1.214, allocations: 27.8 kB / 0.8087 GB, free: 70.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/1.214, allocations: 230.6 kB / 0.8089 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/1.214, allocations: 115.4 kB / 0.809 GB, free: 70.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.214, allocations: 15.95 kB / 0.809 GB, free: 70.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006152/1.215, allocations: 0.7074 MB / 0.8097 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/1.215, allocations: 286.6 kB / 0.81 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.215, allocations: 0 / 0.81 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/1.215, allocations: 4 kB / 0.81 GB, free: 69.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/1.215, allocations: 4 kB / 0.81 GB, free: 69.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/1.217, allocations: 3.196 MB / 0.8131 GB, free: 65.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.476e-05/1.217, allocations: 50.58 kB / 0.8132 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/1.217, allocations: 21.64 kB / 0.8132 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/1.218, allocations: 170.2 kB / 0.8134 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/1.218, allocations: 34.56 kB / 0.8134 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/1.218, allocations: 0 / 0.8134 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004941/1.218, allocations: 153 kB / 0.8135 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/1.218, allocations: 51.41 kB / 0.8136 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.218, allocations: 199.7 kB / 0.8138 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/1.218, allocations: 29.64 kB / 0.8138 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/1.218, allocations: 222.5 kB / 0.814 GB, free: 64.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.218, allocations: 39.55 kB / 0.8141 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/1.218, allocations: 0 / 0.8141 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/1.219, allocations: 334.8 kB / 0.8144 GB, free: 64.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/1.219, allocations: 32.88 kB / 0.8144 GB, free: 64.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.219, allocations: 301.3 kB / 0.8147 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/1.219, allocations: 123.7 kB / 0.8148 GB, free: 63.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.219, allocations: 0 / 0.8148 GB, free: 63.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005379/1.22, allocations: 325.5 kB / 0.8151 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.22, allocations: 12 kB / 0.8151 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.22, allocations: 8 kB / 0.8151 GB, free: 63.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/1.22, allocations: 16 kB / 0.8152 GB, free: 63.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/1.22, allocations: 107.8 kB / 0.8153 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.22, allocations: 20.16 kB / 0.8153 GB, free: 63.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/1.22, allocations: 20.41 kB / 0.8153 GB, free: 63.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/1.22, allocations: 27.98 kB / 0.8153 GB, free: 63.14 MB / 0.4948 GB 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 7.781e-05/1.22, allocations: 128.7 kB / 0.8155 GB, free: 63.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/1.22, allocations: 23.67 kB / 0.8155 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/1.221, allocations: 96.34 kB / 0.8156 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.221, allocations: 0 / 0.8156 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.221, allocations: 0 / 0.8156 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.221, allocations: 4 kB / 0.8156 GB, free: 62.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/1.221, allocations: 376.7 kB / 0.8159 GB, free: 62.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.221, allocations: 0 / 0.8159 GB, free: 62.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/1.221, allocations: 23.92 kB / 0.816 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.221, allocations: 4 kB / 0.816 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/1.221, allocations: 0 / 0.816 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.221, allocations: 3.984 kB / 0.816 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.221, allocations: 8.062 kB / 0.816 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/1.221, allocations: 216.4 kB / 0.8162 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/1.221, allocations: 108.9 kB / 0.8163 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/1.221, allocations: 0 / 0.8163 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/1.222, allocations: 11.98 kB / 0.8163 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/1.222, allocations: 4 kB / 0.8163 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/1.222, allocations: 15.86 kB / 0.8163 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.61e-05/1.222, allocations: 140.5 kB / 0.8164 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.222, allocations: 0 / 0.8164 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004414/1.222, allocations: 91.95 kB / 0.8165 GB, free: 61.8 MB / 0.4948 GB 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.000238/1.222, allocations: 172.9 kB / 0.8167 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002017/1.223, allocations: 138.1 kB / 0.8168 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.223, allocations: 0 / 0.8168 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/1.223, allocations: 20.44 kB / 0.8168 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/1.223, allocations: 24.48 kB / 0.8169 GB, free: 61.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/1.223, allocations: 202.9 kB / 0.8171 GB, free: 61.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/1.223, allocations: 0.7249 MB / 0.8178 GB, free: 60.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002406/1.224, allocations: 57.81 kB / 0.8178 GB, free: 60.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/1.224, allocations: 31.42 kB / 0.8179 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/1.224, allocations: 0 / 0.8179 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.005144/1.229, allocations: 2.708 MB / 0.8205 GB, free: 57.68 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches