Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001444, allocations: 201.3 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 226.5 MB / 245.4 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007933/0.0007933, allocations: 96.75 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4412/0.4412, allocations: 44.82 MB / 394.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003039, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4004, allocations: 62.95 MB / 0.5184 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7318/1.132, allocations: 379.1 MB / 0.8886 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/1.133, allocations: 77.7 kB / 0.8887 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3403/1.473, allocations: 19.37 MB / 0.9076 GB, free: 204 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.977e-06/1.473, allocations: 0 / 0.9076 GB, free: 204 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.14e-05/1.473, allocations: 2.656 kB / 0.9076 GB, free: 204 MB / 0.5417 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.001536/1.475, allocations: 0.5624 MB / 0.9082 GB, free: 203.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.448e-05/1.475, allocations: 11.91 kB / 0.9082 GB, free: 203.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/1.475, allocations: 29.66 kB / 0.9082 GB, free: 203.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/1.476, allocations: 230 kB / 0.9084 GB, free: 203.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/1.476, allocations: 124 kB / 0.9085 GB, free: 203.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/1.476, allocations: 26.55 kB / 0.9086 GB, free: 203.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/1.477, allocations: 325.2 kB / 0.9089 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/1.477, allocations: 3.938 kB / 0.9089 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/1.477, allocations: 6.531 kB / 0.9089 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/1.477, allocations: 8.906 kB / 0.9089 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/1.478, allocations: 0.7323 MB / 0.9096 GB, free: 202.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/1.479, allocations: 1.179 MB / 0.9107 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/1.48, allocations: 156.1 kB / 0.9109 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/1.48, allocations: 82.19 kB / 0.911 GB, free: 201.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002633/1.483, allocations: 2.821 MB / 0.9137 GB, free: 198.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/1.483, allocations: 34.17 kB / 0.9138 GB, free: 198.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/1.483, allocations: 4 kB / 0.9138 GB, free: 198.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0003596/1.483, allocations: 113.5 kB / 0.9139 GB, free: 198.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.483, allocations: 51.92 kB / 0.9139 GB, free: 198.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/1.483, allocations: 228 kB / 0.9141 GB, free: 198.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/1.483, allocations: 25.7 kB / 0.9142 GB, free: 198.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.483, allocations: 214.3 kB / 0.9144 GB, free: 198.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/1.483, allocations: 49.23 kB / 0.9144 GB, free: 198.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/1.483, allocations: 4 kB / 0.9144 GB, free: 198.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.484, allocations: 331.6 kB / 0.9147 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/1.484, allocations: 49.52 kB / 0.9148 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/1.484, allocations: 346.8 kB / 0.9151 GB, free: 197.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/1.484, allocations: 443.7 kB / 0.9155 GB, free: 196.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.484, allocations: 2.75 kB / 0.9155 GB, free: 196.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006292/1.485, allocations: 379.3 kB / 0.9159 GB, free: 196.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.485, allocations: 11.5 kB / 0.9159 GB, free: 196.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.485, allocations: 12.41 kB / 0.9159 GB, free: 196.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.485, allocations: 20.7 kB / 0.9159 GB, free: 196.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/1.485, allocations: 101.5 kB / 0.916 GB, free: 196.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/1.485, allocations: 26.98 kB / 0.9161 GB, free: 196.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/1.486, allocations: 52.8 kB / 0.9161 GB, free: 196.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/1.486, allocations: 28.06 kB / 0.9161 GB, free: 196.7 MB / 0.5417 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.0001425/1.486, allocations: 146.7 kB / 0.9163 GB, free: 196.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/1.486, allocations: 27.94 kB / 0.9163 GB, free: 196.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/1.486, allocations: 144.1 kB / 0.9164 GB, free: 196.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.486, allocations: 3.75 kB / 0.9165 GB, free: 196.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.486, allocations: 3.938 kB / 0.9165 GB, free: 196.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.486, allocations: 96 / 0.9165 GB, free: 196.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/1.487, allocations: 411.7 kB / 0.9168 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.487, allocations: 0 / 0.9168 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/1.487, allocations: 17.27 kB / 0.9169 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.487, allocations: 2.688 kB / 0.9169 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/1.487, allocations: 0.6562 kB / 0.9169 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.487, allocations: 3.5 kB / 0.9169 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.487, allocations: 0 / 0.9169 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/1.487, allocations: 201.2 kB / 0.9171 GB, free: 195.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/1.487, allocations: 117 kB / 0.9172 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/1.487, allocations: 0.7031 kB / 0.9172 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.488, allocations: 7.516 kB / 0.9172 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/1.488, allocations: 15.55 kB / 0.9172 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/1.488, allocations: 3.797 kB / 0.9172 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001388/1.488, allocations: 155.8 kB / 0.9174 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/1.488, allocations: 0 / 0.9174 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006118/1.488, allocations: 98.22 kB / 0.9174 GB, free: 195.6 MB / 0.5417 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.0003103/1.489, allocations: 159.8 kB / 0.9176 GB, free: 195.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003699/1.489, allocations: 166.2 kB / 0.9178 GB, free: 195.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.489, allocations: 0 / 0.9178 GB, free: 195.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/1.489, allocations: 29.52 kB / 0.9178 GB, free: 195.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/1.49, allocations: 45.97 kB / 0.9178 GB, free: 195.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.502, allocations: 4.005 MB / 0.9217 GB, free: 194 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.502, allocations: 0.7335 MB / 0.9225 GB, free: 193.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003712/1.503, allocations: 54.58 kB / 0.9225 GB, free: 193.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/1.503, allocations: 26.09 kB / 0.9225 GB, free: 193.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.553e-06/1.503, allocations: 0 / 0.9225 GB, free: 193.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.009662/1.512, allocations: 2.833 MB / 0.9253 GB, free: 192.9 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches