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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 100.4 kB / 20.45 MB, free: 1.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 217.5 kB / 23.75 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 74.7 kB / 468.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.118, allocations: 61.04 MB / 0.5174 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02283/0.1408, allocations: 18.58 MB / 0.5355 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006682/0.1475, allocations: 3.987 MB / 0.5394 GB, free: 4 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.2164/0.3639, allocations: 26.55 kB / 0.5395 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3649, allocations: 306.1 kB / 0.5397 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.367, allocations: 0.878 MB / 0.5406 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.3694, allocations: 0.9131 MB / 0.5415 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.372, allocations: 1.814 MB / 0.5433 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009877/0.373, allocations: 399.3 kB / 0.5437 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.3755, allocations: 0.9476 MB / 0.5446 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.3768, allocations: 0.6644 MB / 0.5452 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.377, allocations: 60.69 kB / 0.5453 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009003/0.3779, allocations: 279.1 kB / 0.5455 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.3782, allocations: 265.7 kB / 0.5458 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.3787, allocations: 330.7 kB / 0.5461 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3803, allocations: 1.088 MB / 0.5472 GB, free: 9.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3803, allocations: 0.9375 kB / 0.5472 GB, free: 9.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3803, allocations: 0 / 0.5472 GB, free: 9.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.3804, allocations: 0.6562 kB / 0.5472 GB, free: 9.777 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.002243/0.3826, allocations: 1.001 MB / 0.5482 GB, free: 9.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3826, allocations: 9.812 kB / 0.5482 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.383, allocations: 91.7 kB / 0.5483 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009392/0.3839, allocations: 485.5 kB / 0.5487 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3841, allocations: 151.6 kB / 0.5489 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3842, allocations: 47.8 kB / 0.5489 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3856, allocations: 1.1 MB / 0.55 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.3856, allocations: 6.812 kB / 0.55 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.3857, allocations: 25.88 kB / 0.55 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/0.3858, allocations: 38.67 kB / 0.5501 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3869, allocations: 0.6388 MB / 0.5507 GB, free: 8.273 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.004258/0.3912, allocations: 3.347 MB / 0.5539 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.3921, allocations: 398.4 kB / 0.5543 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.3924, allocations: 194.1 kB / 0.5545 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.3927, allocations: 48.61 kB / 0.5546 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3928, allocations: 38.02 kB / 0.5546 GB, free: 6.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.485e-06/0.3928, allocations: 4 kB / 0.5546 GB, free: 6.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003201/0.396, allocations: 1.462 MB / 0.556 GB, free: 5.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.396, allocations: 133.9 kB / 0.5562 GB, free: 5.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.3966, allocations: 0.5223 MB / 0.5567 GB, free: 5.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.3967, allocations: 37.3 kB / 0.5567 GB, free: 5.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3969, allocations: 371.4 kB / 0.5571 GB, free: 5.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.397, allocations: 168.7 kB / 0.5572 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.3972, allocations: 136.5 kB / 0.5573 GB, free: 5.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.3973, allocations: 368.4 kB / 0.5577 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.3977, allocations: 222.8 kB / 0.5579 GB, free: 4.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.3982, allocations: 0.5961 MB / 0.5585 GB, free: 4.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.3991, allocations: 0.7812 MB / 0.5593 GB, free: 3.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3991, allocations: 10.22 kB / 0.5593 GB, free: 3.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00175/0.4009, allocations: 0.9323 MB / 0.5602 GB, free: 3.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4009, allocations: 9.875 kB / 0.5602 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4009, allocations: 9.219 kB / 0.5602 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.402, allocations: 265.1 kB / 0.5604 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.4025, allocations: 128.6 kB / 0.5606 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008974/0.4034, allocations: 0.8607 MB / 0.5614 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.404, allocations: 31.88 kB / 0.5614 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.404, allocations: 35.38 kB / 0.5615 GB, free: 2.52 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.000357/0.4044, allocations: 248.6 kB / 0.5617 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4045, allocations: 62.41 kB / 0.5618 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.4058, allocations: 0.7116 MB / 0.5625 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.4058, allocations: 6.688 kB / 0.5625 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4058, allocations: 2.344 kB / 0.5625 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.4058, allocations: 7.391 kB / 0.5625 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.4079, allocations: 1.239 MB / 0.5637 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4079, allocations: 2.031 kB / 0.5637 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.4089, allocations: 190.4 kB / 0.5639 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.4091, allocations: 62.31 kB / 0.5639 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.4092, allocations: 20.56 kB / 0.5639 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.4114, allocations: 2.729 MB / 0.5666 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.4114, allocations: 6.094 kB / 0.5666 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.4134, allocations: 0.9963 MB / 0.5676 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.4138, allocations: 120.5 kB / 0.5677 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.4139, allocations: 15.28 kB / 0.5677 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.4143, allocations: 12.17 kB / 0.5677 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4144, allocations: 44.66 kB / 0.5678 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.4144, allocations: 23.55 kB / 0.5678 GB, free: 14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005071/0.4149, allocations: 348.1 kB / 0.5681 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4149, allocations: 0 / 0.5681 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001021/0.416, allocations: 206.5 kB / 0.5683 GB, free: 13.81 MB / 430.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.0005719/0.4165, allocations: 231 kB / 0.5685 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.4179, allocations: 0.5857 MB / 0.5691 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.4179, allocations: 1.906 kB / 0.5691 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.4191, allocations: 468.4 kB / 0.5696 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.4206, allocations: 317 kB / 0.5699 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.4233, allocations: 1.456 MB / 0.5713 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.4237, allocations: 336 kB / 0.5716 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.4239, allocations: 64.11 kB / 0.5717 GB, free: 12.22 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4239, allocations: 0 / 0.5717 GB, free: 12.22 MB / 430.1 MB Notification: Performance of Templates: time 0.02533/0.4493, allocations: 15.19 MB / 0.5865 GB, free: 5.199 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.231385653838515]