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.001543/0.001543, allocations: 185.1 kB / 17.06 MB, free: 5.07 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.331/1.331, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009392/0.0009393, allocations: 94.36 kB / 292.2 MB, free: 10.92 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.3773/0.3773, allocations: 44.23 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 16 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4019, allocations: 61.89 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7049/1.107, allocations: 378.1 MB / 0.8788 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.107, allocations: 74.66 kB / 0.8789 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3603/1.468, allocations: 19.37 MB / 0.8978 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/1.468, allocations: 3.062 kB / 0.8978 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.997e-05/1.468, allocations: 6.844 kB / 0.8978 GB, free: 189.2 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.001305/1.469, allocations: 0.5696 MB / 0.8984 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.469, allocations: 11.91 kB / 0.8984 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/1.469, allocations: 29.77 kB / 0.8984 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/1.47, allocations: 225.8 kB / 0.8986 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.47, allocations: 122 kB / 0.8987 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/1.47, allocations: 22.22 kB / 0.8988 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/1.47, allocations: 327.7 kB / 0.8991 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.47, allocations: 4 kB / 0.8991 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/1.47, allocations: 10.75 kB / 0.8991 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/1.47, allocations: 5.562 kB / 0.8991 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008268/1.471, allocations: 0.7394 MB / 0.8998 GB, free: 188 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/1.473, allocations: 1.222 MB / 0.901 GB, free: 187 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/1.474, allocations: 160.6 kB / 0.9012 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00326/1.477, allocations: 2.781 MB / 0.9039 GB, free: 184 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/1.477, allocations: 34.03 kB / 0.9039 GB, free: 184 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.455e-06/1.477, allocations: 0 / 0.9039 GB, free: 184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005258/1.478, allocations: 125.7 kB / 0.904 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/1.478, allocations: 54.22 kB / 0.9041 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/1.478, allocations: 195.1 kB / 0.9043 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/1.478, allocations: 29.7 kB / 0.9043 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/1.478, allocations: 215.5 kB / 0.9045 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/1.478, allocations: 47.03 kB / 0.9046 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/1.478, allocations: 10.59 kB / 0.9046 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.478, allocations: 331 kB / 0.9049 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/1.479, allocations: 44.91 kB / 0.9049 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/1.479, allocations: 333.3 kB / 0.9052 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/1.479, allocations: 108.1 kB / 0.9053 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.479, allocations: 2.719 kB / 0.9053 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008128/1.48, allocations: 371.8 kB / 0.9057 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/1.48, allocations: 11.88 kB / 0.9057 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/1.48, allocations: 13.73 kB / 0.9057 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-05/1.48, allocations: 12.59 kB / 0.9057 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/1.48, allocations: 98.31 kB / 0.9058 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-05/1.481, allocations: 18.44 kB / 0.9059 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/1.481, allocations: 61.39 kB / 0.9059 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/1.481, allocations: 28.14 kB / 0.9059 GB, free: 182.5 MB / 0.5261 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 () * 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.0001571/1.481, allocations: 157.9 kB / 0.9061 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/1.481, allocations: 17.33 kB / 0.9061 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/1.482, allocations: 166.5 kB / 0.9063 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.482, allocations: 0.6562 kB / 0.9063 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.482, allocations: 0 / 0.9063 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.482, allocations: 0.6094 kB / 0.9063 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/1.482, allocations: 435.1 kB / 0.9067 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.482, allocations: 1.766 kB / 0.9067 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/1.482, allocations: 17.72 kB / 0.9067 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/1.482, allocations: 2.578 kB / 0.9067 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.482, allocations: 2.062 kB / 0.9067 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/1.482, allocations: 6.891 kB / 0.9067 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.482, allocations: 0.7812 kB / 0.9067 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/1.483, allocations: 270.3 kB / 0.907 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/1.483, allocations: 118.6 kB / 0.9071 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/1.483, allocations: 4.094 kB / 0.9071 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/1.483, allocations: 7.859 kB / 0.9071 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/1.483, allocations: 5.797 kB / 0.9071 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.483, allocations: 3.828 kB / 0.9071 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001395/1.483, allocations: 159.4 kB / 0.9073 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/1.483, allocations: 0 / 0.9073 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000638/1.484, allocations: 97.83 kB / 0.9073 GB, free: 181.3 MB / 0.5261 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 () * Number of clocked 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.0002773/1.484, allocations: 169.2 kB / 0.9075 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003033/1.484, allocations: 167.6 kB / 0.9077 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.484, allocations: 0 / 0.9077 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/1.484, allocations: 30.28 kB / 0.9077 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/1.485, allocations: 39.72 kB / 0.9077 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.499, allocations: 5.249 MB / 0.9129 GB, free: 179.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/1.499, allocations: 0.7286 MB / 0.9136 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003736/1.5, allocations: 53.84 kB / 0.9136 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/1.5, allocations: 26.66 kB / 0.9136 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/1.5, allocations: 0 / 0.9136 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.007267/1.507, allocations: 2.819 MB / 0.9164 GB, free: 178.2 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/jenkins/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