Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.0008011, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008125/0.0008125, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8895/0.8895, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.443e-05, allocations: 5.516 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005098/0.005122, allocations: 4.546 MB / 323 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005661/0.005688, allocations: 0.584 MB / 323.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.005749, allocations: 3.938 kB / 323.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.005999, allocations: 23.84 kB / 323.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.007337, allocations: 0.6185 MB / 324.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.007531, allocations: 102.7 kB / 324.3 MB, free: 472 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.007758, allocations: 187.1 kB / 324.5 MB, free: 284 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.007797, allocations: 3.938 kB / 324.5 MB, free: 280 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008356/0.008633, allocations: 0.6587 MB / 325.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.008714, allocations: 43.84 kB / 325.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.008732, allocations: 8 kB / 325.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.00968, allocations: 0.8656 MB / 326 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.00973, allocations: 27.91 kB / 326.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.009777, allocations: 31.92 kB / 326.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.01016, allocations: 263.2 kB / 326.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01017, allocations: 0 / 326.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01017, allocations: 0 / 326.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.01017, allocations: 0 / 326.4 MB, free: 14.38 MB / 298.7 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.000427/0.0106, allocations: 352.9 kB / 326.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.01064, allocations: 12.92 kB / 326.7 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.432e-05/0.01068, allocations: 38.75 kB / 326.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.01092, allocations: 36.81 kB / 326.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.01114, allocations: 129.7 kB / 326.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.01115, allocations: 12.38 kB / 326.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.01116, allocations: 12.31 kB / 326.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.01139, allocations: 218.3 kB / 327.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.01139, allocations: 0 / 327.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.01141, allocations: 0 / 327.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.01141, allocations: 4 kB / 327.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.01155, allocations: 115.8 kB / 327.3 MB, free: 13.37 MB / 298.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.0006191/0.01217, allocations: 0.5743 MB / 327.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.0123, allocations: 78.55 kB / 327.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.01235, allocations: 36.84 kB / 328 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.01257, allocations: 59.89 kB / 328 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.0126, allocations: 34.56 kB / 328.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.0126, allocations: 0 / 328.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002623/0.01286, allocations: 133.8 kB / 328.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.01289, allocations: 51.41 kB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.01298, allocations: 121.7 kB / 328.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.013, allocations: 29.7 kB / 328.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.01305, allocations: 103.9 kB / 328.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.01308, allocations: 47.64 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.01312, allocations: 37.67 kB / 328.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.0132, allocations: 318.8 kB / 328.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.01324, allocations: 27.98 kB / 328.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.0133, allocations: 68.11 kB / 329 MB, free: 11.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.0134, allocations: 112.8 kB / 329.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.0134, allocations: 0 / 329.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001611/0.01356, allocations: 145.5 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01358, allocations: 4 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01358, allocations: 0 / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.0136, allocations: 4 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.01369, allocations: 31.98 kB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.0137, allocations: 11.88 kB / 329.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.01374, allocations: 11.89 kB / 329.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.01376, allocations: 12 kB / 329.3 MB, free: 11.18 MB / 298.7 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 7.005e-05/0.01383, allocations: 118 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.014, allocations: 11.95 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.01421, allocations: 146.3 kB / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01422, allocations: 0 / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.01422, allocations: 3.938 kB / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01423, allocations: 0 / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.01455, allocations: 353.5 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01455, allocations: 3.984 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.0146, allocations: 27.92 kB / 330 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.0146, allocations: 11.94 kB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.01461, allocations: 0 / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01461, allocations: 0 / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01461, allocations: 0 / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.01475, allocations: 203.2 kB / 330.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.01479, allocations: 27.86 kB / 330.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.0148, allocations: 7.875 kB / 330.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.01486, allocations: 0 / 330.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.01488, allocations: 15.92 kB / 330.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.01489, allocations: 4 kB / 330.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.01493, allocations: 91.27 kB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01493, allocations: 4 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.01518, allocations: 59.92 kB / 330.4 MB, free: 10.04 MB / 298.7 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.0004778/0.01565, allocations: 0.7903 MB / 331.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.0158, allocations: 87.84 kB / 331.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01581, allocations: 0 / 331.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.01584, allocations: 35.92 kB / 331.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.01614, allocations: 35.95 kB / 331.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.01735, allocations: 1.55 MB / 332.9 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.0174, allocations: 80.36 kB / 332.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.856e-05/0.0175, allocations: 40.95 kB / 333 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.01756, allocations: 28.48 kB / 333 MB, free: 7.238 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.01756, allocations: 0 / 333 MB, free: 7.238 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.03671, allocations: 4.583 MB / 337.6 MB, free: 2.812 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.094, allocations: 3.938 kB / 337.6 MB, free: 2.809 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.881962389685214]