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.0009413/0.0009413, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008584/0.0008584, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9507/0.9507, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1321/0.1321, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.091e-05, allocations: 9.875 kB / 406.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01344/0.01346, allocations: 18.48 MB / 425.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.01771, allocations: 3.979 MB / 429.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.01821, allocations: 27.75 kB / 429.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.01892, allocations: 313.9 kB / 429.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.02054, allocations: 0.9087 MB / 430.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.02223, allocations: 0.9502 MB / 431.5 MB, free: 9.461 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.02383, allocations: 1.828 MB / 433.3 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.0244, allocations: 393.5 kB / 433.7 MB, free: 7.242 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.02597, allocations: 1.164 MB / 434.9 MB, free: 6.074 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.02665, allocations: 0.6194 MB / 435.5 MB, free: 5.453 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.435e-05/0.02674, allocations: 60 kB / 435.6 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.02725, allocations: 287.4 kB / 435.9 MB, free: 5.113 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.02746, allocations: 287.1 kB / 436.1 MB, free: 4.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.02768, allocations: 275.4 kB / 436.4 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.0287, allocations: 1.126 MB / 437.5 MB, free: 3.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.02871, allocations: 0 / 437.5 MB, free: 3.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.02871, allocations: 4 kB / 437.5 MB, free: 3.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.02872, allocations: 0 / 437.5 MB, free: 3.43 MB / 410.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.001569/0.03029, allocations: 0.9911 MB / 438.5 MB, free: 2.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.03033, allocations: 8.031 kB / 438.5 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.666e-05/0.03042, allocations: 94.7 kB / 438.6 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.03063, allocations: 92.45 kB / 438.7 MB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.03121, allocations: 478 kB / 439.2 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.03132, allocations: 152.4 kB / 439.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.03139, allocations: 56.36 kB / 439.4 MB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.03238, allocations: 1.102 MB / 440.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.0324, allocations: 3.938 kB / 440.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.03245, allocations: 24 kB / 440.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.03249, allocations: 40.92 kB / 440.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.03323, allocations: 0.6439 MB / 441.2 MB, free: 15.53 MB / 426.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.003001/0.03624, allocations: 3.426 MB / 444.6 MB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/0.03684, allocations: 392 kB / 445 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.03705, allocations: 197.4 kB / 445.2 MB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.03722, allocations: 52.28 kB / 445.2 MB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.03725, allocations: 42.83 kB / 445.3 MB, free: 11.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.03725, allocations: 0 / 445.3 MB, free: 11.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.002011/0.03926, allocations: 1.461 MB / 446.8 MB, free: 9.789 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.03932, allocations: 136.5 kB / 446.9 MB, free: 9.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.03978, allocations: 0.5887 MB / 447.5 MB, free: 9.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.03982, allocations: 29.7 kB / 447.5 MB, free: 8.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.04001, allocations: 359.9 kB / 447.9 MB, free: 8.633 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.059e-05/0.0401, allocations: 170.5 kB / 448 MB, free: 8.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.04023, allocations: 138.6 kB / 448.2 MB, free: 8.324 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.04035, allocations: 374.8 kB / 448.5 MB, free: 7.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.0406, allocations: 229.9 kB / 448.7 MB, free: 7.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.041, allocations: 0.6033 MB / 449.3 MB, free: 6.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.04171, allocations: 0.7728 MB / 450.1 MB, free: 6.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.04172, allocations: 3.938 kB / 450.1 MB, free: 6.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001128/0.04284, allocations: 0.9347 MB / 451.1 MB, free: 5.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.04286, allocations: 12 kB / 451.1 MB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.04287, allocations: 8.844 kB / 451.1 MB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.04345, allocations: 264.6 kB / 451.3 MB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.04368, allocations: 127.8 kB / 451.5 MB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006576/0.04434, allocations: 0.8605 MB / 452.3 MB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.04459, allocations: 35.92 kB / 452.4 MB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.04463, allocations: 36 kB / 452.4 MB, free: 3.758 MB / 426.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.0002108/0.04484, allocations: 249.5 kB / 452.6 MB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.04491, allocations: 71.64 kB / 452.7 MB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/0.04576, allocations: 0.7209 MB / 453.4 MB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.04577, allocations: 4 kB / 453.4 MB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.04578, allocations: 4 kB / 453.4 MB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.04578, allocations: 3.984 kB / 453.4 MB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.0471, allocations: 1.297 MB / 454.7 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.0471, allocations: 0 / 454.7 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.04758, allocations: 187.8 kB / 454.9 MB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.04771, allocations: 61 kB / 455 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.04774, allocations: 23.88 kB / 455 MB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.0492, allocations: 2.775 MB / 457.8 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.04921, allocations: 4.031 kB / 457.8 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.05017, allocations: 0.9993 MB / 458.8 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.05033, allocations: 131.4 kB / 458.9 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.05038, allocations: 12.14 kB / 458.9 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.05057, allocations: 12 kB / 458.9 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.05064, allocations: 55.91 kB / 459 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.05067, allocations: 20 kB / 459 MB, free: 12.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003264/0.051, allocations: 419 kB / 459.4 MB, free: 12.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.051, allocations: 0 / 459.4 MB, free: 12.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.05149, allocations: 207.9 kB / 459.6 MB, free: 12.15 MB / 442.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.001619/0.05311, allocations: 1.675 MB / 461.3 MB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.05388, allocations: 0.5823 MB / 461.9 MB, free: 9.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.05389, allocations: 4 kB / 461.9 MB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.05454, allocations: 474 kB / 462.3 MB, free: 9.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009196/0.05546, allocations: 375 kB / 462.7 MB, free: 9.004 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/0.06158, allocations: 6.48 MB / 469.2 MB, free: 2.133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.0618, allocations: 345.4 kB / 469.5 MB, free: 1.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004494/0.06225, allocations: 209.9 kB / 469.7 MB, free: 1.562 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.06249, allocations: 232.4 kB / 470 MB, free: 1.332 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.06249, allocations: 0 / 470 MB, free: 1.332 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1896/0.2521, allocations: 23.68 MB / 493.6 MB, free: 98.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/8.629, allocations: 11.89 kB / 493.7 MB, free: 98.38 MB / 442.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.871861309744418]