Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.13 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 80.64 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1155, allocations: 62.47 MB / 480.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03577/0.1513, allocations: 26.92 MB / 0.4958 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.155, allocations: 2.952 MB / 0.4987 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1552, allocations: 0 / 0.4987 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1556, allocations: 55.59 kB / 0.4987 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1575, allocations: 0.7305 MB / 0.4994 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.1579, allocations: 138.5 kB / 0.4996 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.1585, allocations: 374.1 kB / 0.4999 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.054e-05/0.1586, allocations: 13.69 kB / 0.4999 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2639/0.4225, allocations: 15.48 MB / 0.5151 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.423, allocations: 145.6 kB / 0.5152 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.423, allocations: 11 kB / 0.5152 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008751/0.4318, allocations: 3.439 MB / 0.5186 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.432, allocations: 50.09 kB / 0.5186 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.4322, allocations: 106.6 kB / 0.5187 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.4334, allocations: 471 kB / 0.5192 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4334, allocations: 0 / 0.5192 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4334, allocations: 0 / 0.5192 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4334, allocations: 1.062 kB / 0.5192 GB, free: 10.83 MB / 382.1 MB 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.001133/0.4345, allocations: 0.5987 MB / 0.5197 GB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4346, allocations: 8.438 kB / 0.5198 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.4348, allocations: 26.38 kB / 0.5198 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.435, allocations: 227.2 kB / 0.52 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.4351, allocations: 129.1 kB / 0.5201 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.4352, allocations: 18.81 kB / 0.5201 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.4356, allocations: 332.8 kB / 0.5205 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4357, allocations: 5.953 kB / 0.5205 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.4357, allocations: 15.5 kB / 0.5205 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.4357, allocations: 5.969 kB / 0.5205 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.4366, allocations: 0.7335 MB / 0.5212 GB, free: 9.996 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4378, allocations: 1.305 MB / 0.5225 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.4382, allocations: 159.9 kB / 0.5226 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.4383, allocations: 91.5 kB / 0.5227 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.4402, allocations: 2.802 MB / 0.5254 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.4402, allocations: 34.81 kB / 0.5255 GB, free: 6.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.4403, allocations: 0 / 0.5255 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002942/0.4406, allocations: 124.2 kB / 0.5256 GB, free: 5.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.4406, allocations: 52.66 kB / 0.5256 GB, free: 5.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4408, allocations: 217 kB / 0.5259 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4408, allocations: 31.02 kB / 0.5259 GB, free: 5.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.4409, allocations: 221.2 kB / 0.5261 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.4409, allocations: 46.05 kB / 0.5261 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.441, allocations: 88.23 kB / 0.5262 GB, free: 5.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.4411, allocations: 325.8 kB / 0.5265 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.4411, allocations: 48.23 kB / 0.5266 GB, free: 5.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.4413, allocations: 345.4 kB / 0.5269 GB, free: 4.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.4417, allocations: 439.6 kB / 0.5273 GB, free: 4.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.4417, allocations: 6.375 kB / 0.5273 GB, free: 4.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000499/0.4422, allocations: 382.4 kB / 0.5277 GB, free: 4.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4422, allocations: 12.97 kB / 0.5277 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.4422, allocations: 11.5 kB / 0.5277 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.4423, allocations: 17.38 kB / 0.5277 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.4425, allocations: 100.6 kB / 0.5278 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.4425, allocations: 20.83 kB / 0.5279 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.4428, allocations: 54.22 kB / 0.5279 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.4428, allocations: 28.41 kB / 0.5279 GB, free: 4.379 MB / 382.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/0.4429, allocations: 149.8 kB / 0.5281 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.443, allocations: 17.84 kB / 0.5281 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.4432, allocations: 148.5 kB / 0.5282 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4432, allocations: 6.531 kB / 0.5282 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4433, allocations: 9.375 kB / 0.5283 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4433, allocations: 0 / 0.5283 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.4436, allocations: 415.1 kB / 0.5286 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4436, allocations: 1.5 kB / 0.5286 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.4437, allocations: 15 kB / 0.5287 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4437, allocations: 1.312 kB / 0.5287 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4437, allocations: 8.797 kB / 0.5287 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4437, allocations: 5.219 kB / 0.5287 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4438, allocations: 1.188 kB / 0.5287 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.4439, allocations: 200.9 kB / 0.5289 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.444, allocations: 99.09 kB / 0.529 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.444, allocations: 2.781 kB / 0.529 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.4442, allocations: 10.94 kB / 0.529 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.4442, allocations: 11.05 kB / 0.529 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.4442, allocations: 3.469 kB / 0.529 GB, free: 3.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4443, allocations: 161.3 kB / 0.5291 GB, free: 3.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4443, allocations: 0 / 0.5291 GB, free: 3.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.4448, allocations: 91.81 kB / 0.5292 GB, free: 3.488 MB / 382.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003304/0.4452, allocations: 161.7 kB / 0.5294 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.4455, allocations: 177.1 kB / 0.5296 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4455, allocations: 0 / 0.5296 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.4455, allocations: 22.5 kB / 0.5296 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.446, allocations: 48.45 kB / 0.5296 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.4468, allocations: 0.568 MB / 0.5302 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.447, allocations: 0.7274 MB / 0.5309 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.447, allocations: 34.47 kB / 0.5309 GB, free: 2.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.447, allocations: 0 / 0.5309 GB, free: 2.395 MB / 382.1 MB Notification: Performance of Templates: time 0.0057/0.4527, allocations: 3.33 MB / 0.5342 GB, free: 2.031 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches