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.001777/0.001777, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002316/0.002316, allocations: 186 kB / 23.7 MB, free: 4.191 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.414/1.414, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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.001632/0.001632, allocations: 47.92 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007317/0.2498, allocations: 4.564 MB / 427.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2509, allocations: 0.5841 MB / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.2509, allocations: 0 / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.2511, allocations: 31.78 kB / 427.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.2527, allocations: 0.5995 MB / 428.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.253, allocations: 98.3 kB / 428.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.2533, allocations: 179.3 kB / 428.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.2533, allocations: 11.91 kB / 428.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.2544, allocations: 0.6292 MB / 429.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.2545, allocations: 47.77 kB / 429.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2545, allocations: 4 kB / 429.3 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.256, allocations: 0.8813 MB / 430.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.2561, allocations: 19.92 kB / 430.2 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.2561, allocations: 39.84 kB / 430.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.2565, allocations: 247.3 kB / 430.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2565, allocations: 0 / 430.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2565, allocations: 0 / 430.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2565, allocations: 0 / 430.5 MB, free: 6.469 MB / 334.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.000486/0.257, allocations: 349.6 kB / 430.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2571, allocations: 12.03 kB / 430.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.2571, allocations: 38.73 kB / 430.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.2575, allocations: 32.86 kB / 430.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.2577, allocations: 138.4 kB / 431 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2578, allocations: 12.12 kB / 431 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.2578, allocations: 12 kB / 431.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.2581, allocations: 214.1 kB / 431.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2581, allocations: 0 / 431.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2581, allocations: 4 kB / 431.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2581, allocations: 4 kB / 431.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.2583, allocations: 107.9 kB / 431.4 MB, free: 5.465 MB / 334.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.0008207/0.2591, allocations: 0.5705 MB / 432 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.2593, allocations: 78.48 kB / 432 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.2593, allocations: 44.78 kB / 432.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.2596, allocations: 64.19 kB / 432.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2597, allocations: 34.56 kB / 432.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2597, allocations: 0 / 432.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000293/0.26, allocations: 129.5 kB / 432.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.26, allocations: 55.41 kB / 432.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2601, allocations: 113.8 kB / 432.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2601, allocations: 29.7 kB / 432.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.2602, allocations: 103.9 kB / 432.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.2603, allocations: 51.56 kB / 432.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.2603, allocations: 37.7 kB / 432.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2605, allocations: 318.8 kB / 433 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.2605, allocations: 27.98 kB / 433 MB, free: 3.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.2606, allocations: 65.14 kB / 433.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2608, allocations: 111.8 kB / 433.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2608, allocations: 0 / 433.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002387/0.261, allocations: 145.5 kB / 433.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.261, allocations: 6.812 kB / 433.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.261, allocations: 0 / 433.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.2611, allocations: 11.88 kB / 433.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2612, allocations: 27.98 kB / 433.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2612, allocations: 4 kB / 433.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.2613, allocations: 15.89 kB / 433.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2613, allocations: 8 kB / 433.4 MB, free: 3.273 MB / 334.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.0001045/0.2614, allocations: 117.8 kB / 433.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.2614, allocations: 12.08 kB / 433.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.2617, allocations: 154.2 kB / 433.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2617, allocations: 0 / 433.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2617, allocations: 0 / 433.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2617, allocations: 3.984 kB / 433.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.2622, allocations: 357 kB / 434 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2622, allocations: 0 / 434 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.2623, allocations: 23.92 kB / 434.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2623, allocations: 0 / 434.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.2623, allocations: 12 kB / 434.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2623, allocations: 4 kB / 434.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2623, allocations: 0 / 434.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.2625, allocations: 203.4 kB / 434.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.2626, allocations: 19.88 kB / 434.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2626, allocations: 11.98 kB / 434.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.2627, allocations: 0 / 434.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.2627, allocations: 7.984 kB / 434.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2627, allocations: 8 kB / 434.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.377e-05/0.2628, allocations: 95.2 kB / 434.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2628, allocations: 0 / 434.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003313/0.2631, allocations: 59.88 kB / 434.5 MB, free: 2.129 MB / 334.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.0007451/0.2639, allocations: 0.7981 MB / 435.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.2641, allocations: 79.91 kB / 435.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2641, allocations: 4 kB / 435.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.2641, allocations: 31.61 kB / 435.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2645, allocations: 40.19 kB / 435.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.2663, allocations: 1.575 MB / 437 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.2665, allocations: 79.77 kB / 437.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.2666, allocations: 32.88 kB / 437.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.2667, allocations: 31.42 kB / 437.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2667, allocations: 0 / 437.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.2997, allocations: 4.417 MB / 441.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.69, allocations: 7.172 kB / 441.6 MB, free: 11.05 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.191450512036681]