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.00095/0.00095, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0009616/0.0009616, allocations: 173.9 kB / 23.32 MB, free: 1.207 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 1.014/1.014, allocations: 158.6 MB / 185.1 MB, free: 3.012 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.1473/0.1473, allocations: 32.36 MB / 269.7 MB, free: 14.93 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.573e-06/1.573e-06, allocations: 0 / 407.1 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.154e-05, allocations: 5.938 kB / 407.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01367/0.01369, allocations: 18.48 MB / 425.6 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.01826, allocations: 3.986 MB / 429.5 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005762/0.01884, allocations: 27.75 kB / 429.6 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007657/0.0196, allocations: 313.9 kB / 429.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.02135, allocations: 0.9086 MB / 430.8 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.02361, allocations: 0.9463 MB / 431.7 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.0252, allocations: 1.828 MB / 433.6 MB, free: 7.527 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.02564, allocations: 393.5 kB / 433.9 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.02711, allocations: 1.16 MB / 435.1 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.02779, allocations: 0.6233 MB / 435.7 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.895e-05/0.02787, allocations: 60 kB / 435.8 MB, free: 5.297 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.02847, allocations: 287.4 kB / 436.1 MB, free: 5.016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.02867, allocations: 283.1 kB / 436.3 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.02891, allocations: 283.3 kB / 436.6 MB, free: 4.461 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.03012, allocations: 1.118 MB / 437.7 MB, free: 3.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.03012, allocations: 4 kB / 437.7 MB, free: 3.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.03012, allocations: 4 kB / 437.7 MB, free: 3.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.03014, allocations: 0 / 437.7 MB, free: 3.332 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.00151/0.03165, allocations: 0.9834 MB / 438.7 MB, free: 2.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.03169, allocations: 8.031 kB / 438.7 MB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003527/0.03204, allocations: 98.69 kB / 438.8 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.03231, allocations: 96.45 kB / 438.9 MB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.03298, allocations: 0.4941 MB / 439.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.03308, allocations: 160.3 kB / 439.6 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.03315, allocations: 44.38 kB / 439.6 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.03403, allocations: 1.094 MB / 440.7 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.03405, allocations: 7.938 kB / 440.7 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.0341, allocations: 27.98 kB / 440.7 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/0.03414, allocations: 36.98 kB / 440.8 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.03484, allocations: 0.6361 MB / 441.4 MB, free: 15.42 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.002958/0.0378, allocations: 3.449 MB / 444.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.03846, allocations: 388 kB / 445.2 MB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.03869, allocations: 201.4 kB / 445.4 MB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.03891, allocations: 52.28 kB / 445.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.03895, allocations: 38.89 kB / 445.5 MB, free: 11.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 1.953e-06/0.03895, allocations: 0 / 445.5 MB, free: 11.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.002591/0.04154, allocations: 1.469 MB / 447 MB, free: 9.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.0416, allocations: 132.5 kB / 447.1 MB, free: 9.492 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.04208, allocations: 0.5848 MB / 447.7 MB, free: 8.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.04211, allocations: 37.7 kB / 447.8 MB, free: 8.852 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.04229, allocations: 355.9 kB / 448.1 MB, free: 8.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.04238, allocations: 178.5 kB / 448.3 MB, free: 8.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.04251, allocations: 134.6 kB / 448.4 MB, free: 8.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.04264, allocations: 374.8 kB / 448.8 MB, free: 7.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.04289, allocations: 221.9 kB / 449 MB, free: 7.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.04334, allocations: 0.6033 MB / 449.6 MB, free: 6.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.04405, allocations: 0.7689 MB / 450.4 MB, free: 5.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.04405, allocations: 7.938 kB / 450.4 MB, free: 5.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001124/0.04518, allocations: 0.9431 MB / 451.3 MB, free: 4.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.04519, allocations: 8.188 kB / 451.3 MB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.0452, allocations: 12 kB / 451.3 MB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.04588, allocations: 264.6 kB / 451.6 MB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.04615, allocations: 123.8 kB / 451.7 MB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007587/0.04691, allocations: 0.8606 MB / 452.6 MB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.04726, allocations: 35.92 kB / 452.6 MB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.04732, allocations: 43.92 kB / 452.7 MB, free: 3.613 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.0008198/0.04813, allocations: 241.6 kB / 452.9 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.04822, allocations: 67.58 kB / 453 MB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008773/0.0491, allocations: 0.7207 MB / 453.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.04911, allocations: 4 kB / 453.7 MB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.04911, allocations: 0 / 453.7 MB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.04912, allocations: 3.984 kB / 453.7 MB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.05044, allocations: 1.301 MB / 455 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.05045, allocations: 4 kB / 455 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.05092, allocations: 188 kB / 455.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.05105, allocations: 60.78 kB / 455.2 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.05108, allocations: 11.94 kB / 455.2 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.05266, allocations: 2.772 MB / 458 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.05266, allocations: 3.984 kB / 458 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.05363, allocations: 0.9993 MB / 459 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.05384, allocations: 135.6 kB / 459.1 MB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.05389, allocations: 19.98 kB / 459.2 MB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.05408, allocations: 12 kB / 459.2 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.05416, allocations: 43.81 kB / 459.2 MB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.05419, allocations: 23.98 kB / 459.2 MB, free: 12.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003448/0.05453, allocations: 419 kB / 459.7 MB, free: 12.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05453, allocations: 0 / 459.7 MB, free: 12.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008532/0.05538, allocations: 207.9 kB / 459.9 MB, free: 12.03 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.001498/0.05688, allocations: 1.687 MB / 461.5 MB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008063/0.05769, allocations: 0.5816 MB / 462.1 MB, free: 9.715 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.05769, allocations: 0 / 462.1 MB, free: 9.715 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.05831, allocations: 475.2 kB / 462.6 MB, free: 9.238 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/0.05921, allocations: 366.6 kB / 462.9 MB, free: 8.883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/0.0656, allocations: 6.473 MB / 469.4 MB, free: 2.012 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.06582, allocations: 341.4 kB / 469.8 MB, free: 1.652 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004913/0.06631, allocations: 213.9 kB / 470 MB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.06654, allocations: 236.4 kB / 470.2 MB, free: 1.207 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.06654, allocations: 0 / 470.2 MB, free: 1.207 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/0.2641, allocations: 23.69 MB / 493.9 MB, free: 98.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/8.653, allocations: 10.91 kB / 493.9 MB, free: 98.25 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: 11.074536465108395]