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.001178/0.001178, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 75.53 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.121, allocations: 62.45 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03304/0.1541, allocations: 26.92 MB / 0.4957 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.1575, allocations: 2.959 MB / 0.4986 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.1577, allocations: 0 / 0.4986 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.1581, allocations: 55.59 kB / 0.4987 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.16, allocations: 0.7188 MB / 0.4994 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1604, allocations: 138.8 kB / 0.4995 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.1609, allocations: 378.1 kB / 0.4999 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.161, allocations: 13.69 kB / 0.4999 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2491/0.4101, allocations: 15.48 MB / 0.515 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.4105, allocations: 143.3 kB / 0.5151 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.4106, allocations: 8.25 kB / 0.5151 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009193/0.4198, allocations: 3.441 MB / 0.5185 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.42, allocations: 49.31 kB / 0.5185 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.4202, allocations: 109.3 kB / 0.5186 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.4217, allocations: 464.8 kB / 0.5191 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4217, allocations: 1.312 kB / 0.5191 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4217, allocations: 0.6094 kB / 0.5191 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4218, allocations: 4 kB / 0.5191 GB, free: 10.88 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.001427/0.4232, allocations: 0.6016 MB / 0.5197 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4232, allocations: 9.094 kB / 0.5197 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.4235, allocations: 28.44 kB / 0.5197 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.4237, allocations: 224.6 kB / 0.5199 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4238, allocations: 128.6 kB / 0.5201 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.4239, allocations: 22.19 kB / 0.5201 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.4244, allocations: 333.1 kB / 0.5204 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4245, allocations: 1.594 kB / 0.5204 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.4245, allocations: 6.156 kB / 0.5204 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.4245, allocations: 6.875 kB / 0.5204 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.4254, allocations: 0.7406 MB / 0.5211 GB, free: 10.04 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.001343/0.4267, allocations: 1.299 MB / 0.5224 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.4271, allocations: 166.1 kB / 0.5226 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4273, allocations: 90.88 kB / 0.5226 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002016/0.4293, allocations: 2.798 MB / 0.5254 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.4293, allocations: 34.94 kB / 0.5254 GB, free: 6.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.4294, allocations: 4 kB / 0.5254 GB, free: 6.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003108/0.4297, allocations: 125.8 kB / 0.5255 GB, free: 6.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.4297, allocations: 52.44 kB / 0.5256 GB, free: 5.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.4299, allocations: 221.5 kB / 0.5258 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4299, allocations: 34.36 kB / 0.5258 GB, free: 5.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.43, allocations: 216.3 kB / 0.526 GB, free: 5.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.43, allocations: 42.88 kB / 0.5261 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.4301, allocations: 86.33 kB / 0.5262 GB, free: 5.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.4302, allocations: 334.3 kB / 0.5265 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.4303, allocations: 41.23 kB / 0.5265 GB, free: 5.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4305, allocations: 348.3 kB / 0.5268 GB, free: 4.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.4308, allocations: 444.3 kB / 0.5273 GB, free: 4.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.4309, allocations: 2.281 kB / 0.5273 GB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005882/0.4315, allocations: 381.8 kB / 0.5276 GB, free: 4.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4315, allocations: 10.19 kB / 0.5276 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.4315, allocations: 10.25 kB / 0.5277 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.4315, allocations: 18.78 kB / 0.5277 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.4318, allocations: 99.39 kB / 0.5278 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.4318, allocations: 25.56 kB / 0.5278 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.4321, allocations: 53.75 kB / 0.5278 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.4321, allocations: 28.19 kB / 0.5279 GB, free: 4.41 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 0.0001218/0.4323, allocations: 151.7 kB / 0.528 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.4323, allocations: 18.72 kB / 0.528 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4326, allocations: 149.2 kB / 0.5282 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4326, allocations: 6.234 kB / 0.5282 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4327, allocations: 6.047 kB / 0.5282 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4327, allocations: 1.938 kB / 0.5282 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.4331, allocations: 411.9 kB / 0.5286 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4331, allocations: 1 kB / 0.5286 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.4332, allocations: 14.12 kB / 0.5286 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4332, allocations: 2.469 kB / 0.5286 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4332, allocations: 1.219 kB / 0.5286 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4332, allocations: 1.344 kB / 0.5286 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4332, allocations: 4.344 kB / 0.5286 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.4334, allocations: 215.5 kB / 0.5288 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.4334, allocations: 90.77 kB / 0.5289 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.4335, allocations: 6.297 kB / 0.5289 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.4336, allocations: 9.625 kB / 0.5289 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.4337, allocations: 12.02 kB / 0.5289 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.4337, allocations: 7.469 kB / 0.5289 GB, free: 3.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.4338, allocations: 155.7 kB / 0.5291 GB, free: 3.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4338, allocations: 0 / 0.5291 GB, free: 3.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.4343, allocations: 92.53 kB / 0.5292 GB, free: 3.523 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.0003686/0.4347, allocations: 159.1 kB / 0.5293 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.435, allocations: 175 kB / 0.5295 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4351, allocations: 0 / 0.5295 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.4351, allocations: 26.67 kB / 0.5295 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.4356, allocations: 51.91 kB / 0.5296 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.4365, allocations: 0.5613 MB / 0.5301 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.4367, allocations: 0.7256 MB / 0.5308 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.4368, allocations: 29.56 kB / 0.5308 GB, free: 2.434 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4368, allocations: 0 / 0.5308 GB, free: 2.434 MB / 382.1 MB Notification: Performance of Templates: time 0.006975/0.4438, allocations: 3.335 MB / 0.5341 GB, free: 2.066 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