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.001307/0.001307, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001389/0.001389, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 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 1.417/1.417, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002483/0.002483, allocations: 47.92 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1049, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007423/0.1124, allocations: 4.872 MB / 422.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009556/0.1133, allocations: 0.623 MB / 423.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.1134, allocations: 0 / 423.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1136, allocations: 35.77 kB / 423.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.115, allocations: 0.5761 MB / 423.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1153, allocations: 102.2 kB / 424 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1155, allocations: 167.3 kB / 424.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.1156, allocations: 11.92 kB / 424.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1167, allocations: 0.612 MB / 424.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.1168, allocations: 55.77 kB / 424.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1168, allocations: 8 kB / 424.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.1182, allocations: 0.8539 MB / 425.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.1182, allocations: 23.97 kB / 425.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.1183, allocations: 43.8 kB / 425.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.1187, allocations: 235.3 kB / 426 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1187, allocations: 0 / 426 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1187, allocations: 3.938 kB / 426 MB, free: 4.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1187, allocations: 0 / 426 MB, free: 4.383 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.0005587/0.1193, allocations: 430.7 kB / 426.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1193, allocations: 12.03 kB / 426.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.1194, allocations: 46.73 kB / 426.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.1198, allocations: 36.8 kB / 426.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1201, allocations: 196.3 kB / 426.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1201, allocations: 8.125 kB / 426.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1201, allocations: 12 kB / 426.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1204, allocations: 143.2 kB / 426.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1204, allocations: 0 / 426.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1204, allocations: 0 / 426.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1204, allocations: 4 kB / 426.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1206, allocations: 107.9 kB / 426.9 MB, free: 3.297 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.0007816/0.1214, allocations: 0.6721 MB / 427.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1215, allocations: 74.55 kB / 427.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.1216, allocations: 40.84 kB / 427.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/0.1223, allocations: 0.7998 MB / 428.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1224, allocations: 38.56 kB / 428.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1224, allocations: 0 / 428.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003208/0.1227, allocations: 132.6 kB / 428.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1227, allocations: 55.41 kB / 428.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1228, allocations: 117.8 kB / 428.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1229, allocations: 25.7 kB / 428.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.1229, allocations: 107.9 kB / 429 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.123, allocations: 47.56 kB / 429 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.123, allocations: 37.7 kB / 429.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1232, allocations: 322.8 kB / 429.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.1232, allocations: 23.98 kB / 429.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.1233, allocations: 73.2 kB / 429.5 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1235, allocations: 105 kB / 429.6 MB, free: 288 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1235, allocations: 0 / 429.6 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002336/0.1237, allocations: 141.5 kB / 429.7 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1237, allocations: 8 kB / 429.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1237, allocations: 384 / 429.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1238, allocations: 7.938 kB / 429.8 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1239, allocations: 27.98 kB / 429.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1239, allocations: 7.938 kB / 429.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.124, allocations: 15.89 kB / 429.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.124, allocations: 7.984 kB / 429.8 MB, free: 64 kB / 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 0.0001195/0.1241, allocations: 130.6 kB / 429.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.1242, allocations: 11.94 kB / 429.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.1245, allocations: 145.7 kB / 430.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1245, allocations: 7.938 kB / 430.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1245, allocations: 0 / 430.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1245, allocations: 3.984 kB / 430.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.125, allocations: 382.4 kB / 430.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.125, allocations: 4 kB / 430.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.125, allocations: 31.92 kB / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1251, allocations: 0 / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1251, allocations: 4 kB / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1251, allocations: 3.984 kB / 430.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1251, allocations: 0 / 430.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1253, allocations: 207.4 kB / 430.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.1254, allocations: 97.05 kB / 430.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1254, allocations: 4 kB / 430.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.1255, allocations: 4 kB / 430.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.1255, allocations: 7.984 kB / 430.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1255, allocations: 8 kB / 430.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.961e-05/0.1256, allocations: 95.2 kB / 430.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 430.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.1259, allocations: 63.86 kB / 431 MB, free: 14.77 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.000692/0.1266, allocations: 0.7825 MB / 431.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1268, allocations: 91.09 kB / 431.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1268, allocations: 0 / 431.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.1269, allocations: 39.92 kB / 431.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.1273, allocations: 42.52 kB / 431.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.129, allocations: 1.576 MB / 433.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1293, allocations: 0.6928 MB / 434.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.1294, allocations: 40.89 kB / 434.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.1295, allocations: 31.42 kB / 434.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1295, allocations: 0 / 434.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1554, allocations: 3.77 MB / 438.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/8.52, allocations: 7.734 kB / 438.1 MB, free: 7.652 MB / 366.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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: 11.152665398083627]