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.001292/0.001292, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001359/0.001359, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.457/1.457, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.00149/0.00149, allocations: 51.92 kB / 373 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09841, allocations: 53.32 MB / 426.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1909/0.2893, allocations: 4.931 MB / 431.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.2903, allocations: 0.6222 MB / 431.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.2904, allocations: 0.8125 kB / 431.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.2906, allocations: 26.86 kB / 431.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.2919, allocations: 0.5955 MB / 432.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.2921, allocations: 90.67 kB / 432.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.2924, allocations: 178.4 kB / 432.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.2924, allocations: 6.781 kB / 432.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.2933, allocations: 0.6153 MB / 433.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.2934, allocations: 51.88 kB / 433.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2934, allocations: 8.109 kB / 433.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.2947, allocations: 0.8848 MB / 434.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.2948, allocations: 23.83 kB / 434.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.2948, allocations: 46.97 kB / 434.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.2953, allocations: 243.5 kB / 434.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2953, allocations: 0 / 434.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2953, allocations: 1 kB / 434.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2953, allocations: 0 / 434.6 MB, free: 7.449 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.0004829/0.2958, allocations: 432.7 kB / 435 MB, free: 7.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2958, allocations: 8.844 kB / 435 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.2958, allocations: 42.8 kB / 435.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.2962, allocations: 35.38 kB / 435.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.2965, allocations: 197.6 kB / 435.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2965, allocations: 3.875 kB / 435.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.2965, allocations: 12.25 kB / 435.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.2968, allocations: 136.1 kB / 435.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2968, allocations: 1.188 kB / 435.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2968, allocations: 7.594 kB / 435.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2968, allocations: 2.438 kB / 435.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.297, allocations: 113.1 kB / 435.6 MB, free: 6.723 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.0005833/0.2976, allocations: 0.6633 MB / 436.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2977, allocations: 74.45 kB / 436.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.2978, allocations: 37.7 kB / 436.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/0.2982, allocations: 0.8067 MB / 437.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.2982, allocations: 32.56 kB / 437.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.245e-06/0.2982, allocations: 5.75 kB / 437.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000294/0.2985, allocations: 135.4 kB / 437.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.2985, allocations: 57.94 kB / 437.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.2986, allocations: 114.3 kB / 437.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2986, allocations: 30.77 kB / 437.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.2986, allocations: 104.9 kB / 437.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2986, allocations: 46.22 kB / 437.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.2987, allocations: 37.2 kB / 437.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.2987, allocations: 319.5 kB / 438 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.2988, allocations: 27.75 kB / 438 MB, free: 4.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.704e-05/0.2989, allocations: 77.17 kB / 438.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.299, allocations: 102.9 kB / 438.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.299, allocations: 0 / 438.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002131/0.2992, allocations: 139.1 kB / 438.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2992, allocations: 8.188 kB / 438.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2992, allocations: 2.219 kB / 438.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2992, allocations: 2.188 kB / 438.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2994, allocations: 40.84 kB / 438.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2994, allocations: 2.844 kB / 438.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.2994, allocations: 10.98 kB / 438.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2994, allocations: 12.34 kB / 438.4 MB, free: 4.25 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 5.851e-05/0.2995, allocations: 120.5 kB / 438.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.2995, allocations: 9.672 kB / 438.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.2998, allocations: 144.4 kB / 438.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2998, allocations: 7.297 kB / 438.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2998, allocations: 1.156 kB / 438.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2998, allocations: 0.7969 kB / 438.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.3002, allocations: 397.8 kB / 439.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3002, allocations: 5.906 kB / 439.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.3003, allocations: 23.81 kB / 439.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3003, allocations: 0 / 439.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3003, allocations: 4.172 kB / 439.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3003, allocations: 0 / 439.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3003, allocations: 5.875 kB / 439.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.3005, allocations: 203.3 kB / 439.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3005, allocations: 103.9 kB / 439.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3005, allocations: 4.812 kB / 439.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.3006, allocations: 5 kB / 439.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.3006, allocations: 11.14 kB / 439.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3007, allocations: 5.406 kB / 439.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.3007, allocations: 90.97 kB / 439.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3007, allocations: 0 / 439.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.301, allocations: 66.53 kB / 439.6 MB, free: 3.422 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.0004741/0.3015, allocations: 0.7967 MB / 440.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.3017, allocations: 93.31 kB / 440.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3017, allocations: 1.188 kB / 440.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.486e-05/0.3017, allocations: 33.56 kB / 440.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.3022, allocations: 37.39 kB / 440.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.3034, allocations: 1.579 MB / 442.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3035, allocations: 0.6927 MB / 442.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.3036, allocations: 30.89 kB / 442.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.3037, allocations: 27.86 kB / 442.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3037, allocations: 0 / 442.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.3294, allocations: 3.882 MB / 446.8 MB, free: 156 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.373, allocations: 2.219 kB / 446.8 MB, free: 156 kB / 350.1 MB " [Timeout remaining time 652] (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: 10.863357769994764]