Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001631/0.001631, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002069/0.002069, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.456/1.456, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [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.001775/0.001775, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2608, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008634/0.2694, allocations: 7.856 MB / 404.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.2702, allocations: 0.6321 MB / 404.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.2703, allocations: 0 / 404.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.2705, allocations: 27.33 kB / 404.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.2721, allocations: 0.6076 MB / 405.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.2723, allocations: 92.88 kB / 405.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.2726, allocations: 184.5 kB / 405.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.2726, allocations: 4.312 kB / 405.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.2738, allocations: 0.6328 MB / 406.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.2739, allocations: 50.3 kB / 406.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2739, allocations: 4.469 kB / 406.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.2755, allocations: 0.8836 MB / 407.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.2755, allocations: 21.83 kB / 407.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.2756, allocations: 52.69 kB / 407.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.2761, allocations: 229.1 kB / 407.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2761, allocations: 1.375 kB / 407.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2761, allocations: 3.938 kB / 407.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2761, allocations: 0 / 407.6 MB, free: 2.195 MB / 318.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.000494/0.2766, allocations: 361.6 kB / 408 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2766, allocations: 13.58 kB / 408 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.2767, allocations: 41.78 kB / 408 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.2771, allocations: 35.03 kB / 408 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.2773, allocations: 136.6 kB / 408.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.2773, allocations: 3.031 kB / 408.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.2773, allocations: 9.719 kB / 408.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.2776, allocations: 142.4 kB / 408.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2776, allocations: 5.188 kB / 408.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.2776, allocations: 5.469 kB / 408.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2776, allocations: 2.781 kB / 408.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2778, allocations: 108.2 kB / 408.4 MB, free: 1.535 MB / 318.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.0006632/0.2784, allocations: 0.6408 MB / 409.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.2786, allocations: 81.66 kB / 409.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.2787, allocations: 33.89 kB / 409.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.2789, allocations: 54.5 kB / 409.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.279, allocations: 40.36 kB / 409.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.279, allocations: 1.219 kB / 409.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003002/0.2793, allocations: 132.8 kB / 409.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.2793, allocations: 52.5 kB / 409.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.2794, allocations: 121 kB / 409.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2794, allocations: 25.7 kB / 409.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.2794, allocations: 101.8 kB / 409.7 MB, free: 444 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.2795, allocations: 52.7 kB / 409.8 MB, free: 400 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.2795, allocations: 44.78 kB / 409.8 MB, free: 364 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.2796, allocations: 320.3 kB / 410.1 MB, free: 40 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.2796, allocations: 25.89 kB / 410.1 MB, free: 32 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.273e-05/0.2797, allocations: 68.03 kB / 410.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2798, allocations: 103.6 kB / 410.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2799, allocations: 0 / 410.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002142/0.2801, allocations: 140.2 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2801, allocations: 11.56 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2801, allocations: 5.531 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2801, allocations: 1.375 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2802, allocations: 34.05 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2802, allocations: 6.016 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.2803, allocations: 16.02 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2803, allocations: 7.531 kB / 410.5 MB, free: 15.79 MB / 334.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.0001033/0.2804, allocations: 124.6 kB / 410.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.2804, allocations: 8.078 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.2807, allocations: 138.9 kB / 410.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2807, allocations: 6.625 kB / 410.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2807, allocations: 0.5625 kB / 410.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2807, allocations: 0.5625 kB / 410.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.2812, allocations: 363.6 kB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2812, allocations: 0 / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.2813, allocations: 29.91 kB / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2813, allocations: 0 / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2813, allocations: 6.156 kB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2813, allocations: 2.188 kB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2813, allocations: 0 / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.2815, allocations: 210.8 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.2816, allocations: 22.17 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.2816, allocations: 6.344 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2817, allocations: 4.688 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.2817, allocations: 8.984 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2818, allocations: 10.41 kB / 411.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.601e-05/0.2818, allocations: 93.8 kB / 411.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2818, allocations: 3.938 kB / 411.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000355/0.2822, allocations: 61.64 kB / 411.6 MB, free: 14.96 MB / 334.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.0007232/0.2829, allocations: 0.7937 MB / 412.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.2831, allocations: 75.98 kB / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2831, allocations: 0 / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.2832, allocations: 39.2 kB / 412.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.2836, allocations: 43.09 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2854, allocations: 1.575 MB / 414.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.2858, allocations: 0.6931 MB / 414.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.2859, allocations: 33.86 kB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.286, allocations: 28.77 kB / 414.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.286, allocations: 1.094 kB / 414.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.316, allocations: 3.99 MB / 418.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.14, allocations: 13.28 kB / 418.9 MB, free: 9.738 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.755783266002254]