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.001245/0.001245, allocations: 108.2 kB / 16.41 MB, free: 6.492 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.001275/0.001275, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.228/0.228, allocations: 43.53 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.001561/0.001561, allocations: 67.89 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1612, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02256/0.1838, allocations: 20.25 MB / 0.5077 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007938/0.1918, allocations: 4.29 MB / 0.5119 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.1926, allocations: 19.88 kB / 0.5119 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.1937, allocations: 317.9 kB / 0.5122 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.1959, allocations: 0.8667 MB / 0.513 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.1985, allocations: 0.896 MB / 0.5139 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.2006, allocations: 1.805 MB / 0.5157 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.2013, allocations: 457.3 kB / 0.5161 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.2031, allocations: 0.9341 MB / 0.517 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008861/0.204, allocations: 0.6305 MB / 0.5176 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.84e-05/0.2041, allocations: 60 kB / 0.5177 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.205, allocations: 307.6 kB / 0.518 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.2053, allocations: 263.3 kB / 0.5182 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.2057, allocations: 398.2 kB / 0.5186 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.2072, allocations: 1.083 MB / 0.5197 GB, free: 11.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2072, allocations: 0 / 0.5197 GB, free: 11.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2072, allocations: 0 / 0.5197 GB, free: 11.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.2072, allocations: 0 / 0.5197 GB, free: 11.12 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.002191/0.2094, allocations: 1.04 MB / 0.5207 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2095, allocations: 15.89 kB / 0.5207 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/0.2098, allocations: 91.98 kB / 0.5208 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/0.2107, allocations: 0.5365 MB / 0.5213 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.2108, allocations: 96.97 kB / 0.5214 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.2109, allocations: 48.38 kB / 0.5215 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.2121, allocations: 0.8252 MB / 0.5223 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.2122, allocations: 3.938 kB / 0.5223 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.2122, allocations: 20 kB / 0.5223 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/0.2123, allocations: 40.97 kB / 0.5223 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2134, allocations: 0.6478 MB / 0.523 GB, free: 7.582 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.00497/0.2184, allocations: 4.221 MB / 0.5271 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.2193, allocations: 415.5 kB / 0.5275 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.2196, allocations: 209.4 kB / 0.5277 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000523/0.2201, allocations: 0.4989 MB / 0.5282 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.2202, allocations: 42.83 kB / 0.5282 GB, free: 1.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.2202, allocations: 0 / 0.5282 GB, free: 1.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003254/0.2235, allocations: 1.522 MB / 0.5297 GB, free: 224 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.2235, allocations: 140.5 kB / 0.5298 GB, free: 52 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3593/0.5829, allocations: 0.5655 MB / 0.5304 GB, free: 42.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.5831, allocations: 35.86 kB / 0.5304 GB, free: 42.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.5834, allocations: 349.8 kB / 0.5307 GB, free: 42.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.5835, allocations: 167.7 kB / 0.5309 GB, free: 42.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.5838, allocations: 144.5 kB / 0.531 GB, free: 42.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5839, allocations: 378.1 kB / 0.5314 GB, free: 42.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.5843, allocations: 222.9 kB / 0.5316 GB, free: 42.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006993/0.585, allocations: 0.5227 MB / 0.5321 GB, free: 41.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.5861, allocations: 0.7732 MB / 0.5329 GB, free: 41.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.5861, allocations: 6.781 kB / 0.5329 GB, free: 41.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001924/0.588, allocations: 0.9415 MB / 0.5338 GB, free: 41.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.588, allocations: 9.344 kB / 0.5338 GB, free: 41.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5881, allocations: 9.875 kB / 0.5338 GB, free: 41.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.5892, allocations: 262.9 kB / 0.5341 GB, free: 41.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.5897, allocations: 131 kB / 0.5342 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009702/0.5907, allocations: 0.8616 MB / 0.535 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.5912, allocations: 29.11 kB / 0.5351 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.5913, allocations: 31.91 kB / 0.5351 GB, free: 40.8 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.0004118/0.5917, allocations: 252.3 kB / 0.5353 GB, free: 40.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5919, allocations: 69.12 kB / 0.5354 GB, free: 40.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.5935, allocations: 0.7095 MB / 0.5361 GB, free: 40.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.5935, allocations: 6.281 kB / 0.5361 GB, free: 40.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5935, allocations: 0 / 0.5361 GB, free: 40.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.5936, allocations: 10.84 kB / 0.5361 GB, free: 40.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.596, allocations: 1.405 MB / 0.5375 GB, free: 39.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.596, allocations: 1.125 kB / 0.5375 GB, free: 39.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.5969, allocations: 191.7 kB / 0.5377 GB, free: 39.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.5972, allocations: 53.56 kB / 0.5377 GB, free: 39.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.5973, allocations: 24 kB / 0.5377 GB, free: 39.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.5992, allocations: 2.978 MB / 0.5407 GB, free: 36.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5992, allocations: 5.969 kB / 0.5407 GB, free: 36.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.6007, allocations: 1 MB / 0.5416 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.601, allocations: 195.1 kB / 0.5418 GB, free: 36.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.6011, allocations: 18.14 kB / 0.5418 GB, free: 36.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.6015, allocations: 16.41 kB / 0.5419 GB, free: 36.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6016, allocations: 43.38 kB / 0.5419 GB, free: 36.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.6016, allocations: 19.84 kB / 0.5419 GB, free: 36.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005593/0.6022, allocations: 421.7 kB / 0.5423 GB, free: 35.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6022, allocations: 1.219 kB / 0.5423 GB, free: 35.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001131/0.6034, allocations: 199.6 kB / 0.5425 GB, free: 35.82 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.0005523/0.6039, allocations: 230.2 kB / 0.5427 GB, free: 35.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.6052, allocations: 0.6117 MB / 0.5433 GB, free: 35.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6052, allocations: 0 / 0.5433 GB, free: 35.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.6064, allocations: 492.8 kB / 0.5438 GB, free: 35.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.6079, allocations: 374.8 kB / 0.5442 GB, free: 35.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.6104, allocations: 1.401 MB / 0.5455 GB, free: 34.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.6109, allocations: 0.9343 MB / 0.5464 GB, free: 33.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006568/0.6116, allocations: 200.7 kB / 0.5466 GB, free: 33.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6118, allocations: 63.84 kB / 0.5467 GB, free: 33.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.6118, allocations: 4 kB / 0.5467 GB, free: 33.68 MB / 414.1 MB Notification: Performance of Templates: time 0.03603/0.6478, allocations: 15.29 MB / 0.5616 GB, free: 27.69 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