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.0009795/0.0009794, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 185.4 kB / 16.92 MB, free: 6.914 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.606/1.606, allocations: 205.4 MB / 223.1 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3695/0.3695, allocations: 43.58 MB / 315 MB, free: 8.703 MB / 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.000831/0.0008309, allocations: 12 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1534, allocations: 58.86 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2871/0.4406, allocations: 20.36 MB / 463.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006164/0.4468, allocations: 4.39 MB / 468.2 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.4479, allocations: 27.19 kB / 468.2 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009461/0.4488, allocations: 273.3 kB / 468.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.4515, allocations: 0.8068 MB / 469.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.4541, allocations: 0.7999 MB / 470.1 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.4574, allocations: 2.66 MB / 472.8 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007387/0.4581, allocations: 400.5 kB / 473.2 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.4601, allocations: 0.8111 MB / 474 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008953/0.461, allocations: 0.6532 MB / 474.6 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.4611, allocations: 30.91 kB / 474.7 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000789/0.4619, allocations: 269.3 kB / 474.9 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.4621, allocations: 233.7 kB / 475.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.4625, allocations: 394.5 kB / 475.5 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.4635, allocations: 1.032 MB / 476.6 MB, free: 34.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4636, allocations: 3.125 kB / 476.6 MB, free: 34.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4636, allocations: 0 / 476.6 MB, free: 34.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.4636, allocations: 0 / 476.6 MB, free: 34.28 MB / 382.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.00192/0.4655, allocations: 0.9166 MB / 477.5 MB, free: 33.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4656, allocations: 10.06 kB / 477.5 MB, free: 33.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.4659, allocations: 88.59 kB / 477.6 MB, free: 33.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000776/0.4667, allocations: 0.5034 MB / 478.1 MB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.4669, allocations: 104.4 kB / 478.2 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.467, allocations: 49.16 kB / 478.2 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4682, allocations: 0.8248 MB / 479.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.4682, allocations: 3.031 kB / 479.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.4683, allocations: 26.48 kB / 479.1 MB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/0.4684, allocations: 46.08 kB / 479.1 MB, free: 33.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.4693, allocations: 0.6423 MB / 479.8 MB, free: 32.84 MB / 382.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.00397/0.4733, allocations: 4.226 MB / 484 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/0.4741, allocations: 419.4 kB / 484.4 MB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.4744, allocations: 205.8 kB / 484.6 MB, free: 29.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/0.4749, allocations: 0.5047 MB / 485.1 MB, free: 28.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4749, allocations: 42.14 kB / 485.2 MB, free: 28.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.4749, allocations: 3.938 kB / 485.2 MB, free: 28.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002863/0.4778, allocations: 1.522 MB / 486.7 MB, free: 27.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.4779, allocations: 139.1 kB / 486.8 MB, free: 27.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.4784, allocations: 0.5683 MB / 487.4 MB, free: 27.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4785, allocations: 32.58 kB / 487.4 MB, free: 27.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.4787, allocations: 361.3 kB / 487.8 MB, free: 26.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/0.4788, allocations: 162 kB / 487.9 MB, free: 26.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.4788, allocations: 65.56 kB / 488 MB, free: 26.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.4789, allocations: 375.8 kB / 488.4 MB, free: 26.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4793, allocations: 224.4 kB / 488.6 MB, free: 26.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.4797, allocations: 0.5188 MB / 489.1 MB, free: 25.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/0.4805, allocations: 0.7804 MB / 489.9 MB, free: 25.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4805, allocations: 3.375 kB / 489.9 MB, free: 25.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00156/0.4821, allocations: 0.9352 MB / 490.8 MB, free: 24.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4821, allocations: 8.094 kB / 490.8 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4822, allocations: 9.344 kB / 490.8 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.4833, allocations: 276.3 kB / 491.1 MB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.4837, allocations: 120 kB / 491.2 MB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007557/0.4844, allocations: 0.8711 MB / 492.1 MB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.4851, allocations: 48.95 kB / 492.1 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.4851, allocations: 35.94 kB / 492.2 MB, free: 24.17 MB / 382.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.0003317/0.4855, allocations: 245.2 kB / 492.4 MB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.4856, allocations: 68.47 kB / 492.5 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.4868, allocations: 0.7206 MB / 493.2 MB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4868, allocations: 3.031 kB / 493.2 MB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.4868, allocations: 2.969 kB / 493.2 MB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.4868, allocations: 3.281 kB / 493.2 MB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4887, allocations: 1.401 MB / 494.6 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4887, allocations: 7.219 kB / 494.6 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/0.4897, allocations: 196.8 kB / 494.8 MB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.49, allocations: 62.23 kB / 494.9 MB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.49, allocations: 17.44 kB / 494.9 MB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.4919, allocations: 2.796 MB / 497.7 MB, free: 20.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4919, allocations: 11 kB / 497.7 MB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.4935, allocations: 0.9979 MB / 498.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.4939, allocations: 204.4 kB / 498.9 MB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.494, allocations: 13.89 kB / 498.9 MB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.4944, allocations: 30.53 kB / 498.9 MB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4945, allocations: 33.11 kB / 499 MB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.4946, allocations: 20.97 kB / 499 MB, free: 19.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005645/0.4952, allocations: 427.8 kB / 499.4 MB, free: 19.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4952, allocations: 0 / 499.4 MB, free: 19.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009055/0.4961, allocations: 206.6 kB / 499.6 MB, free: 19.07 MB / 382.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.0005202/0.4966, allocations: 229.5 kB / 499.8 MB, free: 18.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.498, allocations: 0.6012 MB / 0.4887 GB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.498, allocations: 1.344 kB / 0.4887 GB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4993, allocations: 491.6 kB / 0.4892 GB, free: 18.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.5012, allocations: 356.1 kB / 0.4895 GB, free: 18.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.5034, allocations: 1.715 MB / 0.4912 GB, free: 17.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.5039, allocations: 0.9371 MB / 0.4921 GB, free: 16.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007561/0.5047, allocations: 211.6 kB / 0.4923 GB, free: 16.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5048, allocations: 58.83 kB / 0.4924 GB, free: 16.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5048, allocations: 0 / 0.4924 GB, free: 16.62 MB / 382.1 MB Notification: Performance of Templates: time 0.0299/0.5348, allocations: 14.44 MB / 0.5065 GB, free: 12.01 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches