Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.002036/0.002036, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002009/0.002009, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 43.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2673, allocations: 53.37 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007266/0.2746, allocations: 4.62 MB / 435.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.2755, allocations: 0.5764 MB / 436.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.2756, allocations: 7.938 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2758, allocations: 19.84 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.2774, allocations: 0.6112 MB / 436.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.2777, allocations: 99.8 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.2779, allocations: 191.2 kB / 437.2 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.278, allocations: 4 kB / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.2791, allocations: 0.6214 MB / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.2792, allocations: 51.7 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2793, allocations: 12 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.2808, allocations: 0.8969 MB / 438.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.2809, allocations: 23.92 kB / 438.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.2809, allocations: 47.78 kB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.2814, allocations: 239.4 kB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2814, allocations: 3.984 kB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2814, allocations: 0 / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2814, allocations: 0 / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005055/0.2819, allocations: 349.6 kB / 439.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2819, allocations: 8.031 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.282, allocations: 42.73 kB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.2824, allocations: 36.86 kB / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2826, allocations: 134.4 kB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2826, allocations: 16.12 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2826, allocations: 8 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2829, allocations: 220.6 kB / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.283, allocations: 3.984 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.283, allocations: 8 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.283, allocations: 0 / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2832, allocations: 107.9 kB / 440 MB, free: 13.55 MB / 350.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.0007318/0.2839, allocations: 0.5706 MB / 440.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.2841, allocations: 81.42 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.2841, allocations: 40.84 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.2844, allocations: 55.94 kB / 440.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2844, allocations: 38.56 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2844, allocations: 0 / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003024/0.2847, allocations: 125.8 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2848, allocations: 59.34 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2849, allocations: 125.7 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2849, allocations: 25.7 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.285, allocations: 99.98 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.285, allocations: 55.58 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.2851, allocations: 37.7 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2852, allocations: 318.8 kB / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.2853, allocations: 27.98 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-05/0.2854, allocations: 69.2 kB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2855, allocations: 101.1 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2855, allocations: 0 / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002332/0.2857, allocations: 148.4 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2858, allocations: 4 kB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2858, allocations: 0 / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2858, allocations: 11.88 kB / 442 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2859, allocations: 35.98 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2859, allocations: 4 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.286, allocations: 11.89 kB / 442 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.286, allocations: 12 kB / 442 MB, free: 11.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.2861, allocations: 121.9 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2862, allocations: 7.953 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.2865, allocations: 150.2 kB / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2865, allocations: 0 / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2865, allocations: 0 / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2865, allocations: 3.984 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.2869, allocations: 349.5 kB / 442.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2869, allocations: 0 / 442.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.287, allocations: 27.92 kB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.287, allocations: 8 kB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.287, allocations: 0 / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.287, allocations: 0 / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.287, allocations: 0 / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.2873, allocations: 211.4 kB / 442.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.2873, allocations: 19.88 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2873, allocations: 11.92 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.2874, allocations: 4 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.2875, allocations: 7.984 kB / 442.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2875, allocations: 4 kB / 442.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.819e-05/0.2875, allocations: 91.27 kB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2875, allocations: 4 kB / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.2879, allocations: 63.88 kB / 443.1 MB, free: 10.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007157/0.2886, allocations: 0.7926 MB / 443.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2888, allocations: 87.84 kB / 444 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2888, allocations: 0 / 444 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.2888, allocations: 35.98 kB / 444 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.2893, allocations: 40.23 kB / 444 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.291, allocations: 1.581 MB / 445.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.062e-05/0.291, allocations: 79.7 kB / 445.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2912, allocations: 36.86 kB / 445.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.2912, allocations: 31.42 kB / 445.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2912, allocations: 0 / 445.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.322, allocations: 4.521 MB / 450.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.64, allocations: 7.312 kB / 450.3 MB, free: 3.023 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium.T in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.267558378633112]