Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007915/0.0007915, allocations: 94.86 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009139/0.000914, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.7 MB / 247.5 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.0002652, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1165, allocations: 63.57 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02162/0.1382, allocations: 20.46 MB / 0.4924 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.145, allocations: 4.397 MB / 0.4967 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009944/0.146, allocations: 23.81 kB / 0.4967 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1471, allocations: 266.5 kB / 0.497 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.1496, allocations: 0.8088 MB / 0.4977 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.1521, allocations: 0.8019 MB / 0.4985 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003238/0.1553, allocations: 2.675 MB / 0.5011 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1564, allocations: 401.2 kB / 0.5015 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.1588, allocations: 0.8209 MB / 0.5023 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.16, allocations: 0.65 MB / 0.503 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.1602, allocations: 32 kB / 0.503 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.1611, allocations: 275.5 kB / 0.5033 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.1614, allocations: 235.3 kB / 0.5035 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.162, allocations: 391.9 kB / 0.5039 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.1631, allocations: 0.791 MB / 0.5046 GB, free: 3.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1631, allocations: 4 kB / 0.5046 GB, free: 3.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1631, allocations: 0 / 0.5046 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.884e-05/0.1632, allocations: 0 / 0.5046 GB, free: 3.023 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002296/0.1655, allocations: 0.9194 MB / 0.5055 GB, free: 2.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1655, allocations: 8.031 kB / 0.5055 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.166, allocations: 88.08 kB / 0.5056 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.1668, allocations: 0.5054 MB / 0.5061 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.167, allocations: 96.97 kB / 0.5062 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1671, allocations: 48.38 kB / 0.5063 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.1684, allocations: 0.8369 MB / 0.5071 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1684, allocations: 0 / 0.5071 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.1685, allocations: 20 kB / 0.5071 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.1686, allocations: 40.92 kB / 0.5071 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2203/0.3889, allocations: 0.6407 MB / 0.5078 GB, free: 18.18 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.005601/0.3946, allocations: 4.215 MB / 0.5119 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3957, allocations: 423.9 kB / 0.5123 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.3962, allocations: 207.2 kB / 0.5125 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/0.3967, allocations: 0.4971 MB / 0.513 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.3967, allocations: 42.83 kB / 0.513 GB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.546e-06/0.3967, allocations: 0 / 0.513 GB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003732/0.4005, allocations: 1.527 MB / 0.5145 GB, free: 14.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.4005, allocations: 137.6 kB / 0.5146 GB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.4014, allocations: 0.563 MB / 0.5152 GB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.4015, allocations: 40.52 kB / 0.5152 GB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.4017, allocations: 353.5 kB / 0.5155 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.4019, allocations: 164 kB / 0.5157 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.402, allocations: 63.73 kB / 0.5158 GB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4021, allocations: 373.8 kB / 0.5161 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.4025, allocations: 224 kB / 0.5163 GB, free: 13.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.4031, allocations: 0.5236 MB / 0.5168 GB, free: 13.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/0.404, allocations: 0.7783 MB / 0.5176 GB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.404, allocations: 7.984 kB / 0.5176 GB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001959/0.406, allocations: 0.945 MB / 0.5185 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.406, allocations: 12.59 kB / 0.5185 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.4061, allocations: 9.5 kB / 0.5186 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.4072, allocations: 267.5 kB / 0.5188 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4076, allocations: 130.1 kB / 0.5189 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008481/0.4085, allocations: 0.8586 MB / 0.5198 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.4092, allocations: 52.98 kB / 0.5198 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.4093, allocations: 37.83 kB / 0.5199 GB, free: 12.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003775/0.4097, allocations: 248.8 kB / 0.5201 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.4098, allocations: 64.91 kB / 0.5202 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4113, allocations: 0.7137 MB / 0.5209 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4113, allocations: 6.25 kB / 0.5209 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4113, allocations: 3.938 kB / 0.5209 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4114, allocations: 5 kB / 0.5209 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.4137, allocations: 1.406 MB / 0.5222 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4137, allocations: 1.531 kB / 0.5222 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/0.4147, allocations: 199.3 kB / 0.5224 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/0.415, allocations: 61.56 kB / 0.5225 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.4151, allocations: 16.77 kB / 0.5225 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.4169, allocations: 2.791 MB / 0.5252 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4169, allocations: 2.688 kB / 0.5252 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4186, allocations: 1.003 MB / 0.5262 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.4189, allocations: 204.9 kB / 0.5264 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.4191, allocations: 11.73 kB / 0.5264 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.4196, allocations: 27.06 kB / 0.5264 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4197, allocations: 44.06 kB / 0.5265 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.4197, allocations: 22.69 kB / 0.5265 GB, free: 8.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005776/0.4203, allocations: 419.6 kB / 0.5269 GB, free: 8.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4203, allocations: 0 / 0.5269 GB, free: 8.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009667/0.4213, allocations: 209.8 kB / 0.5271 GB, free: 8.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005401/0.4218, allocations: 235.5 kB / 0.5273 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4232, allocations: 0.604 MB / 0.5279 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.4232, allocations: 1 kB / 0.5279 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.4244, allocations: 482.1 kB / 0.5284 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.4265, allocations: 352.9 kB / 0.5287 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.429, allocations: 1.755 MB / 0.5304 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.4295, allocations: 0.9346 MB / 0.5314 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.4297, allocations: 68.72 kB / 0.5314 GB, free: 6.539 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4297, allocations: 0 / 0.5314 GB, free: 6.539 MB / 382.1 MB Notification: Performance of Templates: time 0.02124/0.451, allocations: 15.46 MB / 0.5465 GB, free: 15.65 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p