Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000812/0.000812, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007912/0.0007912, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9131/0.9131, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.414e-05, allocations: 3.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004934/0.004959, allocations: 4.632 MB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005269/0.005486, allocations: 0.5762 MB / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.005533, allocations: 0 / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.005758, allocations: 31.77 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.006889, allocations: 0.6263 MB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.007054, allocations: 91.84 kB / 330.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.007247, allocations: 187.1 kB / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.007284, allocations: 4 kB / 330.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007403/0.008025, allocations: 0.6547 MB / 331.3 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.008087, allocations: 39.89 kB / 331.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.008102, allocations: 8 kB / 331.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.009241, allocations: 0.9084 MB / 332.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.009285, allocations: 19.86 kB / 332.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.009328, allocations: 39.92 kB / 332.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.009671, allocations: 267.2 kB / 332.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.009675, allocations: 4 kB / 332.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.009676, allocations: 0 / 332.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.009681, allocations: 0 / 332.6 MB, free: 7.797 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.000378/0.01006, allocations: 349.6 kB / 332.9 MB, free: 7.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.0101, allocations: 11.98 kB / 332.9 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.01013, allocations: 42.75 kB / 333 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.01036, allocations: 32.86 kB / 333 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.01056, allocations: 133.6 kB / 333.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.01057, allocations: 8.375 kB / 333.1 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.01059, allocations: 12.36 kB / 333.1 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.01079, allocations: 218.3 kB / 333.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.01079, allocations: 0 / 333.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.01081, allocations: 11.94 kB / 333.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.01081, allocations: 0 / 333.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.01094, allocations: 111.8 kB / 333.5 MB, free: 6.785 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.0005039/0.01144, allocations: 0.5743 MB / 334.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.01155, allocations: 82.53 kB / 334.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.0116, allocations: 32.84 kB / 334.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.01178, allocations: 59.95 kB / 334.2 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.0118, allocations: 38.56 kB / 334.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.0118, allocations: 0 / 334.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002154/0.01201, allocations: 133.2 kB / 334.4 MB, free: 5.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.01204, allocations: 55.41 kB / 334.5 MB, free: 5.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.01211, allocations: 121.7 kB / 334.6 MB, free: 5.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.01213, allocations: 25.7 kB / 334.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.01217, allocations: 104 kB / 334.7 MB, free: 5.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.0122, allocations: 51.53 kB / 334.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.01223, allocations: 33.72 kB / 334.8 MB, free: 5.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.01231, allocations: 319.2 kB / 335.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.01234, allocations: 35.98 kB / 335.1 MB, free: 5.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.0124, allocations: 69.06 kB / 335.2 MB, free: 4.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.184e-05/0.01249, allocations: 101.1 kB / 335.3 MB, free: 4.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01249, allocations: 3.938 kB / 335.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001368/0.01263, allocations: 145.5 kB / 335.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01264, allocations: 4 kB / 335.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01264, allocations: 0 / 335.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01266, allocations: 4 kB / 335.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.01274, allocations: 31.92 kB / 335.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01275, allocations: 7.938 kB / 335.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.01278, allocations: 11.95 kB / 335.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.0128, allocations: 7.984 kB / 335.5 MB, free: 4.594 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 6.754e-05/0.01287, allocations: 125.8 kB / 335.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.01288, allocations: 7.953 kB / 335.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.01307, allocations: 138 kB / 335.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01307, allocations: 4 kB / 335.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01307, allocations: 3.938 kB / 335.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01308, allocations: 3.938 kB / 335.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.01338, allocations: 360.5 kB / 336.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01338, allocations: 0 / 336.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.01343, allocations: 19.98 kB / 336.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01343, allocations: 3.938 kB / 336.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01344, allocations: 12 kB / 336.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01344, allocations: 0 / 336.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01344, allocations: 3.984 kB / 336.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.01356, allocations: 199.5 kB / 336.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.0136, allocations: 15.94 kB / 336.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01362, allocations: 19.88 kB / 336.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.0137, allocations: 0 / 336.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.01372, allocations: 7.984 kB / 336.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01373, allocations: 8 kB / 336.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.518e-05/0.01378, allocations: 91.27 kB / 336.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01378, allocations: 0 / 336.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01401, allocations: 67.86 kB / 336.6 MB, free: 3.449 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.000469/0.01448, allocations: 0.7945 MB / 337.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.01462, allocations: 94.64 kB / 337.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01462, allocations: 0 / 337.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.01465, allocations: 35.92 kB / 337.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01493, allocations: 34.94 kB / 337.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.01599, allocations: 1.559 MB / 339.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.01604, allocations: 79.58 kB / 339.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.241e-05/0.01614, allocations: 32.88 kB / 339.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.01645, allocations: 36.47 kB / 339.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01646, allocations: 0 / 339.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.03343, allocations: 4.674 MB / 343.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.856, allocations: 0 / 343.9 MB, free: 12.08 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.657334977760911]