Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009705/0.0009707, allocations: 178.6 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 242.1 MB, free: 9.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 96.75 kB / 293.3 MB, free: 10.57 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.322/0.322, allocations: 44.14 MB / 388.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 11.98 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 61.87 MB / 0.5107 GB, free: 37.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/1.009, allocations: 378.2 MB / 0.88 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.009, allocations: 74.34 kB / 0.8801 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3004/1.309, allocations: 19.33 MB / 0.899 GB, free: 189 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.725e-06/1.309, allocations: 0 / 0.899 GB, free: 189 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.309, allocations: 6.875 kB / 0.899 GB, free: 189 MB / 0.5261 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.0009476/1.31, allocations: 0.5673 MB / 0.8995 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.31, allocations: 8.312 kB / 0.8995 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/1.311, allocations: 30.62 kB / 0.8996 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/1.311, allocations: 226.7 kB / 0.8998 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-05/1.311, allocations: 127.3 kB / 0.8999 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/1.311, allocations: 19.44 kB / 0.8999 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/1.311, allocations: 321.4 kB / 0.9002 GB, free: 188 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.311, allocations: 3.938 kB / 0.9002 GB, free: 188 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/1.311, allocations: 16.91 kB / 0.9002 GB, free: 188 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/1.311, allocations: 5.938 kB / 0.9002 GB, free: 188 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007025/1.312, allocations: 0.7341 MB / 0.901 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/1.313, allocations: 1.172 MB / 0.9021 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/1.313, allocations: 162 kB / 0.9023 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/1.314, allocations: 84.56 kB / 0.9023 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/1.315, allocations: 2.82 MB / 0.9051 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.315, allocations: 39.16 kB / 0.9051 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/1.316, allocations: 0 / 0.9051 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002628/1.316, allocations: 115.7 kB / 0.9052 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/1.316, allocations: 51.41 kB / 0.9053 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/1.316, allocations: 228.6 kB / 0.9055 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/1.316, allocations: 25.7 kB / 0.9055 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/1.316, allocations: 220.7 kB / 0.9057 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/1.316, allocations: 42.28 kB / 0.9058 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/1.316, allocations: 10.94 kB / 0.9058 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/1.316, allocations: 327.2 kB / 0.9061 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/1.316, allocations: 45.39 kB / 0.9061 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/1.316, allocations: 350.2 kB / 0.9065 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/1.317, allocations: 441.6 kB / 0.9069 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.317, allocations: 3.344 kB / 0.9069 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004593/1.317, allocations: 377.4 kB / 0.9073 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.317, allocations: 6.469 kB / 0.9073 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.317, allocations: 13.66 kB / 0.9073 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/1.317, allocations: 11.97 kB / 0.9073 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/1.318, allocations: 96.19 kB / 0.9074 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.318, allocations: 30.22 kB / 0.9074 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/1.318, allocations: 50.66 kB / 0.9075 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/1.318, allocations: 29.66 kB / 0.9075 GB, free: 181.7 MB / 0.5261 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 9.862e-05/1.318, allocations: 152 kB / 0.9076 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/1.318, allocations: 24.33 kB / 0.9077 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/1.318, allocations: 148.5 kB / 0.9078 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.318, allocations: 1.641 kB / 0.9078 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.318, allocations: 5.438 kB / 0.9078 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.318, allocations: 4.688 kB / 0.9078 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/1.319, allocations: 406.4 kB / 0.9082 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.319, allocations: 0 / 0.9082 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/1.319, allocations: 26.05 kB / 0.9082 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.319, allocations: 0 / 0.9082 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.319, allocations: 3.125 kB / 0.9082 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.319, allocations: 0 / 0.9082 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.319, allocations: 3.469 kB / 0.9082 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/1.319, allocations: 202.9 kB / 0.9084 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/1.319, allocations: 115.2 kB / 0.9085 GB, free: 180.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/1.319, allocations: 3.516 kB / 0.9085 GB, free: 180.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/1.319, allocations: 3.641 kB / 0.9085 GB, free: 180.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/1.319, allocations: 12.89 kB / 0.9086 GB, free: 180.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/1.319, allocations: 6.25 kB / 0.9086 GB, free: 180.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001034/1.319, allocations: 148.5 kB / 0.9087 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.319, allocations: 0 / 0.9087 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004972/1.32, allocations: 110.6 kB / 0.9088 GB, free: 180.6 MB / 0.5261 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.0002191/1.32, allocations: 149.8 kB / 0.909 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002473/1.32, allocations: 169.4 kB / 0.9091 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.32, allocations: 0 / 0.9091 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/1.32, allocations: 30.59 kB / 0.9091 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/1.321, allocations: 36.52 kB / 0.9092 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/1.329, allocations: 4.019 MB / 0.9131 GB, free: 179 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/1.329, allocations: 0.7265 MB / 0.9138 GB, free: 178.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002827/1.329, allocations: 57.16 kB / 0.9139 GB, free: 178.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/1.329, allocations: 26.22 kB / 0.9139 GB, free: 178.2 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/1.329, allocations: 0 / 0.9139 GB, free: 178.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.009464/1.339, allocations: 2.831 MB / 0.9167 GB, free: 177.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches