Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 103.8 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001662, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2154/0.2154, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 67.91 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0213/0.1615, allocations: 20.25 MB / 0.5077 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.1681, allocations: 4.305 MB / 0.5119 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008308/0.169, allocations: 19.88 kB / 0.5119 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1703, allocations: 310 kB / 0.5122 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.1727, allocations: 0.8472 MB / 0.513 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.1754, allocations: 0.8922 MB / 0.5139 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.1777, allocations: 1.801 MB / 0.5157 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007005/0.1784, allocations: 469.2 kB / 0.5161 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.1803, allocations: 0.9146 MB / 0.517 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009477/0.1813, allocations: 0.6344 MB / 0.5176 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1814, allocations: 60 kB / 0.5177 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1825, allocations: 303.6 kB / 0.518 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.1828, allocations: 263.2 kB / 0.5182 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.1833, allocations: 398.2 kB / 0.5186 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.1849, allocations: 1.082 MB / 0.5196 GB, free: 11.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1849, allocations: 0 / 0.5196 GB, free: 11.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1849, allocations: 0 / 0.5196 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.1849, allocations: 0 / 0.5196 GB, free: 11.14 MB / 414.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.002193/0.1871, allocations: 1.081 MB / 0.5207 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1872, allocations: 11.89 kB / 0.5207 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.1875, allocations: 96.45 kB / 0.5208 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.1883, allocations: 0.5292 MB / 0.5213 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1884, allocations: 105 kB / 0.5214 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.1885, allocations: 48.36 kB / 0.5215 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.1898, allocations: 0.8252 MB / 0.5223 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1899, allocations: 0 / 0.5223 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.19, allocations: 24 kB / 0.5223 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.19, allocations: 40.97 kB / 0.5223 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.1912, allocations: 0.6477 MB / 0.523 GB, free: 7.566 MB / 414.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.004821/0.196, allocations: 4.218 MB / 0.5271 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009554/0.197, allocations: 419.8 kB / 0.5275 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1973, allocations: 209.4 kB / 0.5277 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.1978, allocations: 0.4951 MB / 0.5282 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1979, allocations: 42.83 kB / 0.5282 GB, free: 1.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.375e-06/0.1979, allocations: 3.938 kB / 0.5282 GB, free: 1.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00317/0.2011, allocations: 1.531 MB / 0.5297 GB, free: 196 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.2012, allocations: 132.5 kB / 0.5298 GB, free: 32 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2386/0.4398, allocations: 0.5707 MB / 0.5304 GB, free: 42.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.4399, allocations: 34.8 kB / 0.5304 GB, free: 42.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.4402, allocations: 364.2 kB / 0.5308 GB, free: 42.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.4404, allocations: 175 kB / 0.5309 GB, free: 42.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.4406, allocations: 141.3 kB / 0.5311 GB, free: 42.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4407, allocations: 377.4 kB / 0.5314 GB, free: 42.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.4411, allocations: 221.2 kB / 0.5316 GB, free: 42.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.4416, allocations: 0.5265 MB / 0.5322 GB, free: 41.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/0.4425, allocations: 0.7696 MB / 0.5329 GB, free: 41.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4426, allocations: 3.75 kB / 0.5329 GB, free: 41.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001888/0.4445, allocations: 0.9444 MB / 0.5338 GB, free: 41.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4445, allocations: 11.5 kB / 0.5338 GB, free: 41.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.4445, allocations: 10.09 kB / 0.5339 GB, free: 41.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.4457, allocations: 266.7 kB / 0.5341 GB, free: 41.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.4461, allocations: 128.2 kB / 0.5342 GB, free: 41.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.4472, allocations: 0.8648 MB / 0.5351 GB, free: 40.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.4478, allocations: 24.02 kB / 0.5351 GB, free: 40.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.4479, allocations: 37.78 kB / 0.5351 GB, free: 40.91 MB / 414.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.0004333/0.4483, allocations: 252.2 kB / 0.5354 GB, free: 40.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.4485, allocations: 70.89 kB / 0.5354 GB, free: 40.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.4501, allocations: 0.7135 MB / 0.5361 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4501, allocations: 5.438 kB / 0.5361 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4501, allocations: 1.406 kB / 0.5362 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4501, allocations: 5.953 kB / 0.5362 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.4522, allocations: 1.399 MB / 0.5375 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4523, allocations: 4.203 kB / 0.5375 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009546/0.4532, allocations: 191.7 kB / 0.5377 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.4535, allocations: 58.83 kB / 0.5378 GB, free: 39.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.4535, allocations: 17.75 kB / 0.5378 GB, free: 39.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.4554, allocations: 2.985 MB / 0.5407 GB, free: 36.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4554, allocations: 2.938 kB / 0.5407 GB, free: 36.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.4572, allocations: 1.007 MB / 0.5417 GB, free: 36.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.4576, allocations: 207 kB / 0.5419 GB, free: 36.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.038e-05/0.4577, allocations: 14.16 kB / 0.5419 GB, free: 36.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.458, allocations: 17.91 kB / 0.5419 GB, free: 36.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4581, allocations: 41.64 kB / 0.542 GB, free: 36.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.4582, allocations: 19.55 kB / 0.542 GB, free: 36.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006275/0.4588, allocations: 423.3 kB / 0.5424 GB, free: 35.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4588, allocations: 0 / 0.5424 GB, free: 35.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008707/0.4597, allocations: 207.4 kB / 0.5426 GB, free: 35.89 MB / 414.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.0004672/0.4602, allocations: 230.9 kB / 0.5428 GB, free: 35.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4614, allocations: 0.6116 MB / 0.5434 GB, free: 35.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4614, allocations: 3.938 kB / 0.5434 GB, free: 35.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.4626, allocations: 481.9 kB / 0.5439 GB, free: 35.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4643, allocations: 372.4 kB / 0.5442 GB, free: 35.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.4668, allocations: 1.415 MB / 0.5456 GB, free: 34.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.4673, allocations: 0.9362 MB / 0.5465 GB, free: 33.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000673/0.4679, allocations: 210.1 kB / 0.5467 GB, free: 33.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.4681, allocations: 62.52 kB / 0.5468 GB, free: 33.73 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4681, allocations: 0 / 0.5468 GB, free: 33.73 MB / 414.1 MB Notification: Performance of Templates: time 0.02723/0.4954, allocations: 15.28 MB / 0.5617 GB, free: 27.75 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches