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.0009385/0.0009385, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.286/1.286, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008519/0.0008518, allocations: 89.03 kB / 267 MB, free: 9.273 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.3214/0.3214, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.706e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 58.84 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.018/6.129, allocations: 3.076 GB / 3.549 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/6.13, allocations: 70.84 kB / 3.549 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6701/6.8, allocations: 211.4 MB / 3.756 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.303e-06/6.8, allocations: 1.188 kB / 3.756 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.347e-05/6.8, allocations: 6.031 kB / 3.756 GB, free: 95.6 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.004933/6.805, allocations: 1.143 MB / 3.757 GB, free: 94.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/6.805, allocations: 13.75 kB / 3.757 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/6.805, allocations: 27.34 kB / 3.757 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/6.805, allocations: 225.8 kB / 3.757 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.532e-05/6.805, allocations: 122.3 kB / 3.757 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/6.805, allocations: 21.69 kB / 3.757 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/6.806, allocations: 317.4 kB / 3.757 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/6.806, allocations: 0 / 3.757 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/6.806, allocations: 10.38 kB / 3.757 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/6.806, allocations: 14.41 kB / 3.757 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/6.807, allocations: 0.7338 MB / 3.758 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/6.808, allocations: 1.222 MB / 3.759 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/6.808, allocations: 158.7 kB / 3.759 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/6.808, allocations: 87.97 kB / 3.76 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002038/6.81, allocations: 3.036 MB / 3.762 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/6.81, allocations: 44.58 kB / 3.763 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/6.81, allocations: 0 / 3.763 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0002366/6.811, allocations: 101.8 kB / 3.763 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/6.811, allocations: 53.81 kB / 3.763 GB, free: 90.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/6.811, allocations: 185.5 kB / 3.763 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/6.811, allocations: 30.23 kB / 3.763 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/6.811, allocations: 216.8 kB / 3.763 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/6.811, allocations: 49.81 kB / 3.763 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/6.811, allocations: 9.094 kB / 3.763 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.076e-05/6.811, allocations: 325 kB / 3.763 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/6.811, allocations: 45.56 kB / 3.763 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/6.811, allocations: 330.9 kB / 3.764 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/6.811, allocations: 110.2 kB / 3.764 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/6.811, allocations: 3.406 kB / 3.764 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004808/6.812, allocations: 373.5 kB / 3.764 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/6.812, allocations: 8.375 kB / 3.764 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/6.812, allocations: 14.56 kB / 3.764 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/6.812, allocations: 14.19 kB / 3.764 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/6.812, allocations: 92.28 kB / 3.764 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-05/6.812, allocations: 25.31 kB / 3.764 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/6.812, allocations: 58.14 kB / 3.764 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/6.812, allocations: 26.38 kB / 3.765 GB, free: 89.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 6.505e-05/6.813, allocations: 134.2 kB / 3.765 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/6.813, allocations: 22.73 kB / 3.765 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/6.813, allocations: 174.5 kB / 3.765 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/6.813, allocations: 1.281 kB / 3.765 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/6.813, allocations: 1.156 kB / 3.765 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/6.813, allocations: 0 / 3.765 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/6.813, allocations: 433.6 kB / 3.765 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/6.813, allocations: 4.625 kB / 3.765 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/6.813, allocations: 12.84 kB / 3.765 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/6.813, allocations: 2.094 kB / 3.765 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/6.813, allocations: 5.891 kB / 3.765 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/6.813, allocations: 8.812 kB / 3.765 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/6.813, allocations: 6.562 kB / 3.765 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/6.814, allocations: 253.9 kB / 3.766 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/6.814, allocations: 118 kB / 3.766 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/6.814, allocations: 2.062 kB / 3.766 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/6.814, allocations: 9.328 kB / 3.766 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/6.814, allocations: 9.141 kB / 3.766 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/6.814, allocations: 6.406 kB / 3.766 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.817e-05/6.814, allocations: 151.6 kB / 3.766 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/6.814, allocations: 2.188 kB / 3.766 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005755/6.815, allocations: 110.6 kB / 3.766 GB, free: 88.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0004061/6.815, allocations: 273.4 kB / 3.766 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002719/6.815, allocations: 166.1 kB / 3.766 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/6.815, allocations: 0.9062 kB / 3.766 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/6.815, allocations: 31.81 kB / 3.766 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/6.816, allocations: 42.48 kB / 3.766 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1733/6.989, allocations: 98.05 MB / 3.862 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/6.989, allocations: 0.7333 MB / 3.863 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002562/6.989, allocations: 53.2 kB / 3.863 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/6.989, allocations: 27.38 kB / 3.863 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/6.989, allocations: 0 / 3.863 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.00725/6.997, allocations: 5.314 MB / 3.868 GB, free: 47.29 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/jenkins/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