Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001111/0.001111, allocations: 176.2 kB / 16.76 MB, free: 5.055 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.557/1.557, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008911/0.0008914, allocations: 86.42 kB / 271.3 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.3743/0.3743, allocations: 43.56 MB / 363.1 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.000406, allocations: 16 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.541/6.672, allocations: 3.077 GB / 3.557 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/6.672, allocations: 73.53 kB / 3.557 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3995/7.072, allocations: 187.7 MB / 3.74 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.325e-06/7.072, allocations: 0 / 3.74 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.693e-05/7.072, allocations: 4 kB / 3.74 GB, free: 20.86 MB / 0.5105 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.005662/7.078, allocations: 1.162 MB / 3.741 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/7.078, allocations: 8.031 kB / 3.741 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/7.078, allocations: 24.75 kB / 3.741 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/7.078, allocations: 224 kB / 3.741 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/7.078, allocations: 123.9 kB / 3.741 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/7.079, allocations: 24.38 kB / 3.741 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/7.079, allocations: 324.2 kB / 3.742 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/7.079, allocations: 3.938 kB / 3.742 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/7.079, allocations: 12 kB / 3.742 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/7.079, allocations: 8 kB / 3.742 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/7.08, allocations: 0.739 MB / 3.742 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/7.081, allocations: 1.178 MB / 3.744 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/7.081, allocations: 159.7 kB / 3.744 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/7.081, allocations: 85.42 kB / 3.744 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001954/7.083, allocations: 2.814 MB / 3.747 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/7.083, allocations: 38.56 kB / 3.747 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/7.083, allocations: 0 / 3.747 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002768/7.084, allocations: 121.2 kB / 3.747 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/7.084, allocations: 51.41 kB / 3.747 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/7.084, allocations: 223.8 kB / 3.747 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/7.084, allocations: 33.7 kB / 3.747 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/7.084, allocations: 210.7 kB / 3.747 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/7.084, allocations: 55.31 kB / 3.747 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/7.084, allocations: 12 kB / 3.747 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/7.084, allocations: 326.8 kB / 3.748 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/7.084, allocations: 44.84 kB / 3.748 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/7.084, allocations: 343.4 kB / 3.748 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/7.085, allocations: 440.6 kB / 3.748 GB, free: 11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/7.085, allocations: 4 kB / 3.748 GB, free: 11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005352/7.085, allocations: 381.7 kB / 3.749 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/7.085, allocations: 11.94 kB / 3.749 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/7.085, allocations: 24.03 kB / 3.749 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/7.085, allocations: 12 kB / 3.749 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/7.086, allocations: 99.83 kB / 3.749 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/7.086, allocations: 19.88 kB / 3.749 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/7.086, allocations: 55.44 kB / 3.749 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/7.086, allocations: 35.97 kB / 3.749 GB, free: 10.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 0.0001073/7.086, allocations: 149.6 kB / 3.749 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/7.086, allocations: 19.75 kB / 3.749 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/7.086, allocations: 137 kB / 3.749 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/7.086, allocations: 4 kB / 3.749 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.086, allocations: 11.92 kB / 3.749 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/7.086, allocations: 0 / 3.749 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/7.087, allocations: 408.8 kB / 3.75 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/7.087, allocations: 0 / 3.75 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/7.087, allocations: 15.94 kB / 3.75 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/7.087, allocations: 0 / 3.75 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/7.087, allocations: 8 kB / 3.75 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/7.087, allocations: 8.031 kB / 3.75 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/7.087, allocations: 0 / 3.75 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/7.087, allocations: 201.8 kB / 3.75 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/7.087, allocations: 104.8 kB / 3.75 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/7.087, allocations: 7.984 kB / 3.75 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/7.087, allocations: 8 kB / 3.75 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/7.087, allocations: 4 kB / 3.75 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/7.087, allocations: 11.98 kB / 3.75 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.925e-05/7.087, allocations: 144.5 kB / 3.75 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.072e-06/7.087, allocations: 0 / 3.75 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006272/7.088, allocations: 119.9 kB / 3.75 GB, free: 8.906 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0004075/7.089, allocations: 277.2 kB / 3.751 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002596/7.089, allocations: 174 kB / 3.751 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/7.089, allocations: 0 / 3.751 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/7.089, allocations: 27.92 kB / 3.751 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/7.089, allocations: 40.86 kB / 3.751 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3301/7.419, allocations: 42.07 MB / 3.792 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/7.42, allocations: 0.7298 MB / 3.793 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000294/7.42, allocations: 52.91 kB / 3.793 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/7.42, allocations: 30.58 kB / 3.793 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.853e-06/7.42, allocations: 3.844 kB / 3.793 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.009728/7.43, allocations: 4.817 MB / 3.797 GB, free: 96.87 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches