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.001807/0.001807, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 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.002106/0.002106, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.486/1.486, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001913/0.001913, allocations: 63.89 kB / 373 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 53.38 MB / 426.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01227/0.1167, allocations: 4.935 MB / 431.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1183, allocations: 0.6231 MB / 431.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.1184, allocations: 0 / 431.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.1187, allocations: 31.77 kB / 431.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.1212, allocations: 0.5839 MB / 432.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.1216, allocations: 93.48 kB / 432.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.122, allocations: 187.2 kB / 432.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1221, allocations: 11.98 kB / 432.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.1237, allocations: 0.608 MB / 433.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1238, allocations: 55.75 kB / 433.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1239, allocations: 8 kB / 433.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.1264, allocations: 0.8814 MB / 434.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.1265, allocations: 23.84 kB / 434.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1266, allocations: 39.86 kB / 434.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007075/0.1273, allocations: 247.3 kB / 434.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1273, allocations: 0 / 434.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1273, allocations: 0 / 434.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1273, allocations: 4 kB / 434.7 MB, free: 12.31 MB / 366.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.0007701/0.1281, allocations: 430.7 kB / 435.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1281, allocations: 12.03 kB / 435.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.1282, allocations: 42.75 kB / 435.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000687/0.1289, allocations: 32.86 kB / 435.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.1292, allocations: 196.2 kB / 435.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1292, allocations: 12.12 kB / 435.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1293, allocations: 8 kB / 435.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.1296, allocations: 141 kB / 435.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.1296, allocations: 0 / 435.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1296, allocations: 4 kB / 435.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1296, allocations: 7.984 kB / 435.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.1298, allocations: 107.9 kB / 435.6 MB, free: 11.22 MB / 366.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.001065/0.1309, allocations: 0.6607 MB / 436.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.1311, allocations: 82.47 kB / 436.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.1312, allocations: 36.84 kB / 436.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.1322, allocations: 0.8037 MB / 437.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/0.1323, allocations: 38.55 kB / 437.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.906e-06/0.1323, allocations: 0 / 437.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004981/0.1328, allocations: 133.8 kB / 437.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1328, allocations: 51.41 kB / 437.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.133, allocations: 121.7 kB / 437.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.133, allocations: 29.69 kB / 437.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.1331, allocations: 103.9 kB / 437.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.1332, allocations: 43.64 kB / 437.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.1333, allocations: 45.66 kB / 437.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1335, allocations: 318.8 kB / 438.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-05/0.1336, allocations: 28.05 kB / 438.1 MB, free: 8.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1337, allocations: 69.12 kB / 438.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.1339, allocations: 104.1 kB / 438.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.134, allocations: 4 kB / 438.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004009/0.1344, allocations: 133.5 kB / 438.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1344, allocations: 6.031 kB / 438.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.1344, allocations: 11.98 kB / 438.4 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1344, allocations: 3.938 kB / 438.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1346, allocations: 35.92 kB / 438.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1346, allocations: 0 / 438.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1347, allocations: 15.89 kB / 438.5 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.1348, allocations: 8 kB / 438.5 MB, free: 7.992 MB / 366.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.0001657/0.1349, allocations: 121.8 kB / 438.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.135, allocations: 7.953 kB / 438.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.1355, allocations: 150.3 kB / 438.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1355, allocations: 0 / 438.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1355, allocations: 0 / 438.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1355, allocations: 0 / 438.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.1364, allocations: 401.1 kB / 439.2 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1364, allocations: 0 / 439.2 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1365, allocations: 23.98 kB / 439.2 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1365, allocations: 0 / 439.2 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1366, allocations: 8 kB / 439.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1366, allocations: 3.938 kB / 439.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.1366, allocations: 3.984 kB / 439.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.1369, allocations: 203.4 kB / 439.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1371, allocations: 101 kB / 439.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1371, allocations: 0 / 439.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1373, allocations: 8 kB / 439.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1373, allocations: 11.98 kB / 439.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.1373, allocations: 4 kB / 439.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1374, allocations: 95.2 kB / 439.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1374, allocations: 0 / 439.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000595/0.138, allocations: 63.81 kB / 439.7 MB, free: 6.699 MB / 366.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.001271/0.1393, allocations: 0.7942 MB / 440.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.1396, allocations: 80.91 kB / 440.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1396, allocations: 320 / 440.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1397, allocations: 43.92 kB / 440.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.1405, allocations: 39.94 kB / 440.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.1433, allocations: 1.576 MB / 442.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.1438, allocations: 0.6928 MB / 442.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.144, allocations: 41.14 kB / 442.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1441, allocations: 31.41 kB / 443 MB, free: 3.246 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1441, allocations: 0 / 443 MB, free: 3.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.4099, allocations: 3.852 MB / 446.8 MB, free: 24.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.337, allocations: 10.38 kB / 446.8 MB, free: 24.73 MB / 366.1 MB " [Timeout remaining time 652] (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/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_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: 11.013227135059424]