Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 117.8 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3373/0.3373, allocations: 44.13 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.91 kB / 457.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3524, allocations: 60.8 MB / 0.5064 GB, free: 38.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04431/0.3968, allocations: 46.33 MB / 0.5516 GB, free: 5.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.4023, allocations: 4.541 MB / 0.5561 GB, free: 2.523 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007711/0.4031, allocations: 24.47 kB / 0.5561 GB, free: 2.512 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009905/0.4041, allocations: 275.5 kB / 0.5564 GB, free: 2.359 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.406, allocations: 0.7983 MB / 0.5571 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.4081, allocations: 0.8146 MB / 0.5579 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002736/0.4109, allocations: 2.675 MB / 0.5606 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006746/0.4116, allocations: 405.8 kB / 0.5609 GB, free: 476 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1138/0.5254, allocations: 43.34 MB / 0.6033 GB, free: 12.38 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01945/0.5449, allocations: 7.986 MB / 0.6111 GB, free: 4.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.5452, allocations: 32 kB / 0.6111 GB, free: 4.258 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0266/0.5718, allocations: 10.62 MB / 0.6215 GB, free: 9.508 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000565/0.5724, allocations: 235.2 kB / 0.6217 GB, free: 9.277 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006627/0.5731, allocations: 370.2 kB / 0.622 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.5746, allocations: 1.044 MB / 0.6231 GB, free: 7.867 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5746, allocations: 0 / 0.6231 GB, free: 7.867 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.5746, allocations: 3.984 kB / 0.6231 GB, free: 7.863 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.5746, allocations: 0 / 0.6231 GB, free: 7.863 MB / 442.7 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.002095/0.5767, allocations: 1.048 MB / 0.6241 GB, free: 6.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5768, allocations: 15.97 kB / 0.6241 GB, free: 6.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.5771, allocations: 95.98 kB / 0.6242 GB, free: 6.656 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008753/0.578, allocations: 0.4975 MB / 0.6247 GB, free: 6.117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.5781, allocations: 104.9 kB / 0.6248 GB, free: 6.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.5782, allocations: 52.12 kB / 0.6248 GB, free: 5.953 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.5794, allocations: 0.8252 MB / 0.6256 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5795, allocations: 3.938 kB / 0.6256 GB, free: 5.047 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.5795, allocations: 27.98 kB / 0.6257 GB, free: 5.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.5796, allocations: 36.98 kB / 0.6257 GB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/0.5806, allocations: 0.64 MB / 0.6263 GB, free: 4.344 MB / 442.7 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.005321/0.5859, allocations: 4.217 MB / 0.6304 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.5868, allocations: 420.5 kB / 0.6308 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.5872, allocations: 205.4 kB / 0.631 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.5877, allocations: 0.4989 MB / 0.6315 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5877, allocations: 42.89 kB / 0.6316 GB, free: 14.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/0.5877, allocations: 0 / 0.6316 GB, free: 14.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.003131/0.5909, allocations: 1.53 MB / 0.6331 GB, free: 12.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.591, allocations: 132.5 kB / 0.6332 GB, free: 12.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.5916, allocations: 0.5693 MB / 0.6337 GB, free: 12.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.5916, allocations: 29.7 kB / 0.6338 GB, free: 12.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.5919, allocations: 351.1 kB / 0.6341 GB, free: 11.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.592, allocations: 169.6 kB / 0.6343 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.5922, allocations: 146.6 kB / 0.6344 GB, free: 11.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5923, allocations: 374.7 kB / 0.6348 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.5927, allocations: 225.9 kB / 0.635 GB, free: 10.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.5933, allocations: 0.5201 MB / 0.6355 GB, free: 10.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.5942, allocations: 0.7757 MB / 0.6363 GB, free: 9.363 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5942, allocations: 0 / 0.6363 GB, free: 9.363 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001655/0.5959, allocations: 0.9453 MB / 0.6372 GB, free: 8.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.5959, allocations: 8 kB / 0.6372 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5959, allocations: 12 kB / 0.6372 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.597, allocations: 266.1 kB / 0.6374 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.5974, allocations: 131.7 kB / 0.6376 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008786/0.5983, allocations: 0.8645 MB / 0.6384 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.5988, allocations: 43.92 kB / 0.6385 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.5989, allocations: 36 kB / 0.6385 GB, free: 7.031 MB / 458.7 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.0003047/0.5992, allocations: 250.1 kB / 0.6387 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.5993, allocations: 67.16 kB / 0.6388 GB, free: 6.711 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.6006, allocations: 0.7171 MB / 0.6395 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6006, allocations: 8 kB / 0.6395 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6006, allocations: 0 / 0.6395 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6006, allocations: 0 / 0.6395 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.6027, allocations: 1.409 MB / 0.6409 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.6027, allocations: 7.984 kB / 0.6409 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.6039, allocations: 192 kB / 0.6411 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.6042, allocations: 56.83 kB / 0.6411 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.6042, allocations: 15.98 kB / 0.6411 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.6065, allocations: 2.781 MB / 0.6439 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.6065, allocations: 7.969 kB / 0.6439 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009615/0.6161, allocations: 5.809 MB / 0.6495 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.6165, allocations: 204.2 kB / 0.6497 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/0.6166, allocations: 12 kB / 0.6497 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.617, allocations: 28.11 kB / 0.6498 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.6172, allocations: 39.89 kB / 0.6498 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.6172, allocations: 19.98 kB / 0.6498 GB, free: 10.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005216/0.6177, allocations: 427 kB / 0.6502 GB, free: 10.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6177, allocations: 0 / 0.6502 GB, free: 10.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001183/0.6189, allocations: 296 kB / 0.6505 GB, free: 10.03 MB / 474.7 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.0006871/0.6196, allocations: 233.5 kB / 0.6507 GB, free: 9.805 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.621, allocations: 0.5967 MB / 0.6513 GB, free: 9.211 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.621, allocations: 0 / 0.6513 GB, free: 9.211 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.6222, allocations: 499.8 kB / 0.6518 GB, free: 8.711 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.624, allocations: 356.8 kB / 0.6521 GB, free: 8.371 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.627, allocations: 2.101 MB / 0.6542 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.6276, allocations: 0.9465 MB / 0.6551 GB, free: 5.223 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008319/0.6284, allocations: 229.3 kB / 0.6553 GB, free: 5.012 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.6286, allocations: 63.42 kB / 0.6554 GB, free: 4.949 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6286, allocations: 3.938 kB / 0.6554 GB, free: 4.945 MB / 474.7 MB Notification: Performance of Templates: time 0.02766/0.6563, allocations: 16.04 MB / 0.6711 GB, free: 5.105 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches