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.0009635/0.0009634, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 90.62 kB / 261.7 MB, free: 1.621 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.2217/0.2217, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 58.85 MB / 477.1 MB, free: 1.664 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.385/7.524, allocations: 3.076 GB / 3.542 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/7.524, allocations: 75.47 kB / 3.542 GB, free: 70.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.794/8.318, allocations: 208.2 MB / 3.745 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/8.318, allocations: 0 / 3.745 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.616e-05/8.318, allocations: 4 kB / 3.745 GB, free: 62.35 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.00567/8.324, allocations: 1.149 MB / 3.746 GB, free: 61.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/8.324, allocations: 12.03 kB / 3.746 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/8.324, allocations: 27.81 kB / 3.746 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/8.325, allocations: 230.8 kB / 3.746 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/8.325, allocations: 119.4 kB / 3.746 GB, free: 60.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/8.325, allocations: 12 kB / 3.746 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007076/8.326, allocations: 0.7074 MB / 3.747 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/8.326, allocations: 294.4 kB / 3.747 GB, free: 59.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/8.326, allocations: 0 / 3.747 GB, free: 59.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/8.326, allocations: 4 kB / 3.747 GB, free: 59.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/8.326, allocations: 7.938 kB / 3.747 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/8.329, allocations: 3.496 MB / 3.751 GB, free: 55.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/8.329, allocations: 42.56 kB / 3.751 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/8.329, allocations: 21.08 kB / 3.751 GB, free: 55.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004777/8.329, allocations: 453.9 kB / 3.751 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/8.329, allocations: 30.56 kB / 3.751 GB, free: 55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/8.329, allocations: 3.984 kB / 3.751 GB, free: 55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002027/8.33, allocations: 53.5 kB / 3.751 GB, free: 54.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/8.33, allocations: 51.41 kB / 3.751 GB, free: 54.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/8.33, allocations: 217.8 kB / 3.752 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/8.33, allocations: 25.7 kB / 3.752 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/8.33, allocations: 250.2 kB / 3.752 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/8.33, allocations: 15.84 kB / 3.752 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/8.33, allocations: 96 / 3.752 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/8.33, allocations: 338.7 kB / 3.752 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/8.33, allocations: 28.88 kB / 3.752 GB, free: 53.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/8.33, allocations: 344.2 kB / 3.753 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/8.331, allocations: 115.8 kB / 3.753 GB, free: 53.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/8.331, allocations: 0 / 3.753 GB, free: 53.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006426/8.331, allocations: 337.2 kB / 3.753 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/8.331, allocations: 12 kB / 3.753 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/8.331, allocations: 8.906 kB / 3.753 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/8.331, allocations: 16 kB / 3.753 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/8.332, allocations: 107.8 kB / 3.753 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/8.332, allocations: 15.94 kB / 3.753 GB, free: 52.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/8.332, allocations: 51.42 kB / 3.753 GB, free: 52.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/8.332, allocations: 32 kB / 3.753 GB, free: 52.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.58e-05/8.332, allocations: 132.6 kB / 3.753 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/8.332, allocations: 19.81 kB / 3.753 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/8.332, allocations: 17.17 kB / 3.753 GB, free: 52.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/8.332, allocations: 0 / 3.753 GB, free: 52.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/8.332, allocations: 4 kB / 3.753 GB, free: 52.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/8.332, allocations: 0 / 3.753 GB, free: 52.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/8.332, allocations: 178.2 kB / 3.754 GB, free: 52.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/8.332, allocations: 3.984 kB / 3.754 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/8.332, allocations: 0 / 3.754 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/8.332, allocations: 0 / 3.754 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/8.332, allocations: 0 / 3.754 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/8.332, allocations: 0 / 3.754 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/8.332, allocations: 4 kB / 3.754 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/8.332, allocations: 159.2 kB / 3.754 GB, free: 52.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/8.333, allocations: 108.8 kB / 3.754 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/8.333, allocations: 0 / 3.754 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/8.333, allocations: 4 kB / 3.754 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/8.333, allocations: 0 / 3.754 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/8.333, allocations: 0 / 3.754 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001059/8.333, allocations: 154 kB / 3.754 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.333, allocations: 3.938 kB / 3.754 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006666/8.334, allocations: 99.97 kB / 3.754 GB, free: 51.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0004647/8.334, allocations: 295.8 kB / 3.754 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002235/8.334, allocations: 129.9 kB / 3.755 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/8.334, allocations: 3.938 kB / 3.755 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/8.334, allocations: 4 kB / 3.755 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/8.334, allocations: 25.36 kB / 3.755 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5268/8.861, allocations: 95.66 MB / 3.848 GB, free: 80.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/8.862, allocations: 0.7227 MB / 3.849 GB, free: 80 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002739/8.862, allocations: 59.31 kB / 3.849 GB, free: 79.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/8.862, allocations: 18.91 kB / 3.849 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/8.862, allocations: 3.75 kB / 3.849 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.006914/8.869, allocations: 3.047 MB / 3.852 GB, free: 79.92 MB / 0.4948 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