Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001133/0.001133, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.529/1.529, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008757/0.0008758, allocations: 81.05 kB / 271.3 MB, free: 8.25 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.3507/0.3507, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8275/0.9651, allocations: 299.9 MB / 0.7728 GB, free: 72.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.9654, allocations: 78.33 kB / 0.7729 GB, free: 72.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0435/1.009, allocations: 20.13 MB / 0.7925 GB, free: 55.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.009, allocations: 0 / 0.7925 GB, free: 55.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/1.009, allocations: 4 kB / 0.7925 GB, free: 55.73 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.0008728/1.01, allocations: 0.5531 MB / 0.7931 GB, free: 55.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.01, allocations: 8.031 kB / 0.7931 GB, free: 55.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/1.01, allocations: 28.66 kB / 0.7931 GB, free: 55.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/1.01, allocations: 233 kB / 0.7933 GB, free: 54.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.011, allocations: 126.3 kB / 0.7935 GB, free: 54.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/1.011, allocations: 23.06 kB / 0.7935 GB, free: 54.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/1.011, allocations: 327.5 kB / 0.7938 GB, free: 54.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.011, allocations: 3.938 kB / 0.7938 GB, free: 54.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/1.011, allocations: 14.75 kB / 0.7938 GB, free: 54.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/1.011, allocations: 4 kB / 0.7938 GB, free: 54.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/1.012, allocations: 0.7287 MB / 0.7945 GB, free: 53.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/1.013, allocations: 1.124 MB / 0.7956 GB, free: 52.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/1.013, allocations: 150.5 kB / 0.7958 GB, free: 52.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/1.013, allocations: 87.38 kB / 0.7958 GB, free: 52.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/1.015, allocations: 2.662 MB / 0.7984 GB, free: 49.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/1.015, allocations: 33.88 kB / 0.7985 GB, free: 49.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/1.015, allocations: 0 / 0.7985 GB, free: 49.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005578/1.015, allocations: 222.4 kB / 0.7987 GB, free: 49.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/1.015, allocations: 51.41 kB / 0.7987 GB, free: 49.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/1.016, allocations: 218.1 kB / 0.799 GB, free: 48.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/1.016, allocations: 33.08 kB / 0.799 GB, free: 48.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/1.016, allocations: 207.8 kB / 0.7992 GB, free: 48.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/1.016, allocations: 53.59 kB / 0.7992 GB, free: 48.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/1.016, allocations: 10.5 kB / 0.7992 GB, free: 48.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/1.016, allocations: 325.2 kB / 0.7996 GB, free: 48.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/1.016, allocations: 54.77 kB / 0.7996 GB, free: 48.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/1.016, allocations: 321 kB / 0.7999 GB, free: 47.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/1.016, allocations: 417.7 kB / 0.8003 GB, free: 47.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.016, allocations: 4 kB / 0.8003 GB, free: 47.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004546/1.017, allocations: 369.7 kB / 0.8007 GB, free: 47.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.017, allocations: 8 kB / 0.8007 GB, free: 47.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.017, allocations: 12 kB / 0.8007 GB, free: 47.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.017, allocations: 12 kB / 0.8007 GB, free: 47.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/1.017, allocations: 111.7 kB / 0.8008 GB, free: 46.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/1.017, allocations: 19.94 kB / 0.8008 GB, free: 46.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/1.017, allocations: 26.55 kB / 0.8008 GB, free: 46.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/1.017, allocations: 26.94 kB / 0.8009 GB, free: 46.9 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.516e-05/1.018, allocations: 147.5 kB / 0.801 GB, free: 46.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/1.018, allocations: 15.81 kB / 0.801 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/1.018, allocations: 164.8 kB / 0.8012 GB, free: 46.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.018, allocations: 0 / 0.8012 GB, free: 46.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.018, allocations: 7.938 kB / 0.8012 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.018, allocations: 7.969 kB / 0.8012 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/1.018, allocations: 435.9 kB / 0.8016 GB, free: 46.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.018, allocations: 0 / 0.8016 GB, free: 46.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/1.019, allocations: 31.92 kB / 0.8016 GB, free: 46.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.019, allocations: 0 / 0.8016 GB, free: 46.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/1.019, allocations: 11.06 kB / 0.8017 GB, free: 46.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.019, allocations: 64 / 0.8017 GB, free: 46.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.019, allocations: 4 kB / 0.8017 GB, free: 46.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/1.019, allocations: 220.5 kB / 0.8019 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/1.019, allocations: 103.9 kB / 0.802 GB, free: 45.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/1.019, allocations: 15.17 kB / 0.802 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.019, allocations: 4 kB / 0.802 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/1.019, allocations: 11.92 kB / 0.802 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/1.019, allocations: 11.69 kB / 0.802 GB, free: 45.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.367e-05/1.019, allocations: 149.8 kB / 0.8022 GB, free: 45.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 4 kB / 0.8022 GB, free: 45.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004729/1.02, allocations: 109 kB / 0.8023 GB, free: 45.51 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.0002422/1.02, allocations: 170 kB / 0.8024 GB, free: 45.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/1.02, allocations: 174.1 kB / 0.8026 GB, free: 45.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.02, allocations: 0 / 0.8026 GB, free: 45.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/1.02, allocations: 41.42 kB / 0.8026 GB, free: 45.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/1.021, allocations: 53.7 kB / 0.8027 GB, free: 45.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/1.03, allocations: 4.843 MB / 0.8074 GB, free: 40.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/1.03, allocations: 0.7287 MB / 0.8081 GB, free: 39.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003141/1.03, allocations: 62.83 kB / 0.8082 GB, free: 39.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/1.03, allocations: 27.44 kB / 0.8082 GB, free: 39.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/1.03, allocations: 0 / 0.8082 GB, free: 39.39 MB / 490.7 MB Notification: Performance of Templates: time 0.006574/1.037, allocations: 3.532 MB / 0.8117 GB, free: 35.89 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches