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: 107.1 kB / 16.41 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.001173/0.001174, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.523/1.523, 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.2608/0.2608, allocations: 43.53 MB / 314.1 MB, free: 448 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.00151/0.00151, allocations: 71.89 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1614, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0235/0.185, allocations: 20.26 MB / 0.5077 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008092/0.1931, allocations: 4.293 MB / 0.5119 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.1941, allocations: 19.88 kB / 0.5119 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.1955, allocations: 317.9 kB / 0.5122 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.1982, allocations: 0.8628 MB / 0.513 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.2016, allocations: 0.8961 MB / 0.5139 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.2046, allocations: 1.801 MB / 0.5157 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.2052, allocations: 461.3 kB / 0.5161 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.2072, allocations: 0.9341 MB / 0.517 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.2081, allocations: 0.6305 MB / 0.5176 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.2082, allocations: 60 kB / 0.5177 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000873/0.2091, allocations: 307.6 kB / 0.518 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.2094, allocations: 263.2 kB / 0.5182 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.2098, allocations: 394.2 kB / 0.5186 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.2114, allocations: 1.09 MB / 0.5197 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2115, allocations: 0 / 0.5197 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.2115, allocations: 0 / 0.5197 GB, free: 11.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2115, allocations: 0 / 0.5197 GB, free: 11.1 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.002304/0.2138, allocations: 1.044 MB / 0.5207 GB, free: 10.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.2139, allocations: 11.89 kB / 0.5207 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.2142, allocations: 95.98 kB / 0.5208 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.2151, allocations: 0.5288 MB / 0.5213 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2152, allocations: 101 kB / 0.5214 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/0.2153, allocations: 48.38 kB / 0.5215 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2166, allocations: 0.8213 MB / 0.5223 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.2166, allocations: 3.938 kB / 0.5223 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.2167, allocations: 23.98 kB / 0.5223 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.2168, allocations: 40.97 kB / 0.5223 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.2179, allocations: 0.6478 MB / 0.523 GB, free: 7.562 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.005376/0.2232, allocations: 4.217 MB / 0.5271 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.2242, allocations: 415.8 kB / 0.5275 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.2245, allocations: 209.4 kB / 0.5277 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/0.2252, allocations: 0.4951 MB / 0.5282 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.2253, allocations: 34.89 kB / 0.5282 GB, free: 1.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.877e-06/0.2253, allocations: 3.938 kB / 0.5282 GB, free: 1.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003574/0.2288, allocations: 1.529 MB / 0.5297 GB, free: 204 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.229, allocations: 132.5 kB / 0.5298 GB, free: 40 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3578/0.5868, allocations: 0.5727 MB / 0.5304 GB, free: 42.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.587, allocations: 33.12 kB / 0.5304 GB, free: 42.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.5873, allocations: 351 kB / 0.5307 GB, free: 42.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.5875, allocations: 166.2 kB / 0.5309 GB, free: 42.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.5877, allocations: 140.7 kB / 0.531 GB, free: 42.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5878, allocations: 379.8 kB / 0.5314 GB, free: 42.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.5882, allocations: 224.2 kB / 0.5316 GB, free: 42.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/0.589, allocations: 0.5208 MB / 0.5321 GB, free: 41.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.5901, allocations: 0.7759 MB / 0.5329 GB, free: 41.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.5902, allocations: 2.719 kB / 0.5329 GB, free: 41.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002073/0.5922, allocations: 0.9426 MB / 0.5338 GB, free: 41.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.5923, allocations: 9.219 kB / 0.5338 GB, free: 41.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5923, allocations: 9.594 kB / 0.5338 GB, free: 41.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5936, allocations: 265.5 kB / 0.5341 GB, free: 41.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.5941, allocations: 126.8 kB / 0.5342 GB, free: 41.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.5951, allocations: 0.8607 MB / 0.535 GB, free: 40.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.5957, allocations: 24.8 kB / 0.5351 GB, free: 40.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.5957, allocations: 37.27 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.0004182/0.5962, allocations: 250.5 kB / 0.5353 GB, free: 40.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5963, allocations: 68.55 kB / 0.5354 GB, free: 40.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.5978, allocations: 0.7143 MB / 0.5361 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5979, allocations: 8.531 kB / 0.5361 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5979, allocations: 5.094 kB / 0.5361 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5979, allocations: 6.938 kB / 0.5361 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.6003, allocations: 1.401 MB / 0.5375 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.6003, allocations: 2.875 kB / 0.5375 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.6014, allocations: 194.1 kB / 0.5377 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.6016, allocations: 54.58 kB / 0.5377 GB, free: 39.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.6017, allocations: 20.78 kB / 0.5377 GB, free: 39.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.6041, allocations: 2.982 MB / 0.5407 GB, free: 36.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6042, allocations: 2.125 kB / 0.5407 GB, free: 36.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.606, allocations: 1.001 MB / 0.5416 GB, free: 36.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.6063, allocations: 200 kB / 0.5418 GB, free: 36.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/0.6064, allocations: 14.08 kB / 0.5418 GB, free: 36.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.6068, allocations: 20.34 kB / 0.5419 GB, free: 36.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.6069, allocations: 37.44 kB / 0.5419 GB, free: 36.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/0.607, allocations: 20.73 kB / 0.5419 GB, free: 36.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007/0.6077, allocations: 426.8 kB / 0.5423 GB, free: 35.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6077, allocations: 0 / 0.5423 GB, free: 35.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001056/0.6088, allocations: 204.1 kB / 0.5425 GB, free: 35.91 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.0007614/0.6095, allocations: 231 kB / 0.5427 GB, free: 35.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.611, allocations: 0.6071 MB / 0.5433 GB, free: 35.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6111, allocations: 6.062 kB / 0.5433 GB, free: 35.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.6123, allocations: 490.2 kB / 0.5438 GB, free: 35.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.6142, allocations: 368.3 kB / 0.5442 GB, free: 35.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.6174, allocations: 1.402 MB / 0.5455 GB, free: 34.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.618, allocations: 0.9366 MB / 0.5464 GB, free: 33.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006968/0.6187, allocations: 211.2 kB / 0.5466 GB, free: 33.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.6189, allocations: 62.33 kB / 0.5467 GB, free: 33.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6189, allocations: 0 / 0.5467 GB, free: 33.77 MB / 414.1 MB Notification: Performance of Templates: time 0.03065/0.6495, allocations: 15.28 MB / 0.5616 GB, free: 27.82 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