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.001388/0.001388, allocations: 80.91 kB / 20.51 MB, free: 1.273 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.001592/0.001592, allocations: 162.7 kB / 23.76 MB, free: 4.469 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.367/1.367, allocations: 158.6 MB / 185.5 MB, free: 6.234 MB / 174.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.2167/0.2167, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] 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.002424/0.002424, allocations: 71.91 kB / 407.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1424, allocations: 61.04 MB / 468.8 MB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.3346/0.477, allocations: 18.58 MB / 487.4 MB, free: 40.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006054/0.483, allocations: 3.988 MB / 491.4 MB, free: 38.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005018/0.4835, allocations: 28.5 kB / 491.4 MB, free: 38.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009045/0.4844, allocations: 305.6 kB / 491.7 MB, free: 38.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.4864, allocations: 0.8859 MB / 492.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.4888, allocations: 0.9131 MB / 493.5 MB, free: 37.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.4909, allocations: 1.81 MB / 495.3 MB, free: 36.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.4914, allocations: 400.7 kB / 495.7 MB, free: 36.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.4932, allocations: 0.9551 MB / 496.7 MB, free: 35.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009108/0.4941, allocations: 0.6648 MB / 497.3 MB, free: 35.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.4942, allocations: 58.38 kB / 497.4 MB, free: 35.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.4949, allocations: 276.6 kB / 497.7 MB, free: 35.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.4952, allocations: 272.8 kB / 497.9 MB, free: 35.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.4955, allocations: 326.5 kB / 498.2 MB, free: 35.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.4966, allocations: 1.092 MB / 499.3 MB, free: 35.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4966, allocations: 0 / 499.3 MB, free: 35.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4966, allocations: 3.312 kB / 499.3 MB, free: 35.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.4966, allocations: 0 / 499.3 MB, free: 35.02 MB / 446.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.001987/0.4986, allocations: 0.9871 MB / 0.4886 GB, free: 34.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4987, allocations: 9.719 kB / 0.4886 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.499, allocations: 96.42 kB / 0.4887 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.4997, allocations: 477 kB / 0.4891 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.4998, allocations: 153 kB / 0.4893 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.4999, allocations: 56.61 kB / 0.4893 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.501, allocations: 1.094 MB / 0.4904 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.501, allocations: 11.05 kB / 0.4904 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.5011, allocations: 22.66 kB / 0.4904 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.5012, allocations: 45.33 kB / 0.4905 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.502, allocations: 0.6343 MB / 0.4911 GB, free: 32.83 MB / 446.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.003525/0.5056, allocations: 3.356 MB / 0.4944 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.5063, allocations: 397.5 kB / 0.4948 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.5066, allocations: 199.4 kB / 0.495 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.5069, allocations: 51.23 kB / 0.495 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.5069, allocations: 38.2 kB / 0.495 GB, free: 30.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.5069, allocations: 0 / 0.495 GB, free: 30.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.002894/0.5098, allocations: 1.458 MB / 0.4965 GB, free: 29.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5099, allocations: 135 kB / 0.4966 GB, free: 29.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.5103, allocations: 0.5161 MB / 0.4971 GB, free: 28.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.5104, allocations: 32.61 kB / 0.4971 GB, free: 28.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5105, allocations: 377 kB / 0.4975 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.5106, allocations: 171.8 kB / 0.4977 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.5108, allocations: 139 kB / 0.4978 GB, free: 28.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.5109, allocations: 372.3 kB / 0.4981 GB, free: 28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.5112, allocations: 222.5 kB / 0.4984 GB, free: 27.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.5116, allocations: 0.5916 MB / 0.4989 GB, free: 27.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/0.5124, allocations: 0.7822 MB / 0.4997 GB, free: 26.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.5124, allocations: 7.312 kB / 0.4997 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001505/0.514, allocations: 0.933 MB / 0.5006 GB, free: 26.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.514, allocations: 10.22 kB / 0.5006 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.514, allocations: 9.656 kB / 0.5006 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.515, allocations: 267.3 kB / 0.5009 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.5154, allocations: 126 kB / 0.501 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5164, allocations: 0.8658 MB / 0.5019 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.5169, allocations: 29.75 kB / 0.5019 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/0.517, allocations: 39.77 kB / 0.5019 GB, free: 25.61 MB / 446.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.0003528/0.5174, allocations: 243.7 kB / 0.5022 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.5175, allocations: 61.59 kB / 0.5022 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.5188, allocations: 0.7123 MB / 0.5029 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5188, allocations: 11.83 kB / 0.5029 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.5188, allocations: 1.25 kB / 0.5029 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5188, allocations: 0 / 0.5029 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.5209, allocations: 1.235 MB / 0.5041 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5209, allocations: 2.219 kB / 0.5041 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.5219, allocations: 192.5 kB / 0.5043 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.5221, allocations: 58.31 kB / 0.5044 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.5221, allocations: 17.25 kB / 0.5044 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.5239, allocations: 2.733 MB / 0.5071 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.5239, allocations: 7.047 kB / 0.5071 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.5256, allocations: 1.001 MB / 0.508 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.5258, allocations: 115.3 kB / 0.5081 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.5259, allocations: 18.78 kB / 0.5082 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.5263, allocations: 12.42 kB / 0.5082 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.5264, allocations: 39.45 kB / 0.5082 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.5264, allocations: 21.64 kB / 0.5082 GB, free: 21.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004379/0.5269, allocations: 351.1 kB / 0.5086 GB, free: 20.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5269, allocations: 0 / 0.5086 GB, free: 20.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008949/0.5278, allocations: 206.6 kB / 0.5088 GB, free: 20.89 MB / 446.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.0005287/0.5283, allocations: 230.3 kB / 0.509 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.5295, allocations: 0.5823 MB / 0.5096 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5295, allocations: 1.438 kB / 0.5096 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.5307, allocations: 491.6 kB / 0.51 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5321, allocations: 306.4 kB / 0.5103 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.5345, allocations: 1.413 MB / 0.5117 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.535, allocations: 344.5 kB / 0.512 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006339/0.5356, allocations: 202.3 kB / 0.5122 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.5358, allocations: 54.69 kB / 0.5123 GB, free: 19.3 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5358, allocations: 0 / 0.5123 GB, free: 19.3 MB / 446.1 MB Notification: Performance of Templates: time 0.02837/0.5641, allocations: 13.9 MB / 0.5258 GB, free: 15.41 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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: 5.699061837978661]