Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 204.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007453/0.2455, allocations: 4.631 MB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.2464, allocations: 0.5803 MB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.2464, allocations: 0 / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.2466, allocations: 19.84 kB / 436.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.2481, allocations: 0.619 MB / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.2483, allocations: 90.81 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.2486, allocations: 191.2 kB / 437.2 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.2486, allocations: 4 kB / 437.2 MB, free: 480 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.2497, allocations: 0.6292 MB / 437.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.2498, allocations: 55.77 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2498, allocations: 4 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.2512, allocations: 0.9164 MB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.2513, allocations: 19.92 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.2513, allocations: 47.84 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.2518, allocations: 239.3 kB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2518, allocations: 0 / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2518, allocations: 0 / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2518, allocations: 3.938 kB / 439.1 MB, free: 14.56 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.0005216/0.2523, allocations: 345.7 kB / 439.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2524, allocations: 12.03 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.2524, allocations: 46.73 kB / 439.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.2528, allocations: 28.86 kB / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.2531, allocations: 134.5 kB / 439.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2531, allocations: 12.12 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2531, allocations: 4 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.2534, allocations: 224.8 kB / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2534, allocations: 3.984 kB / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2534, allocations: 8 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2534, allocations: 4 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.2536, allocations: 103.9 kB / 440 MB, free: 13.55 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.0007489/0.2544, allocations: 0.5782 MB / 440.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2545, allocations: 74.55 kB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.2546, allocations: 36.84 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.2548, allocations: 59.94 kB / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2549, allocations: 30.56 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2549, allocations: 4 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003149/0.2552, allocations: 133.8 kB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.2552, allocations: 51.41 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2554, allocations: 129.7 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.2554, allocations: 29.7 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.2555, allocations: 99.97 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.2555, allocations: 47.59 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.2556, allocations: 33.7 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2558, allocations: 322.8 kB / 441.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.2558, allocations: 27.98 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.2559, allocations: 69.2 kB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.2561, allocations: 109 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2561, allocations: 0 / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002292/0.2563, allocations: 144.4 kB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2563, allocations: 8 kB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2563, allocations: 4.156 kB / 442 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2563, allocations: 7.938 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2565, allocations: 31.98 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2565, allocations: 0 / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.2565, allocations: 15.83 kB / 442 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.2566, allocations: 12 kB / 442 MB, free: 11.36 MB / 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 9.831e-05/0.2567, allocations: 113.8 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.2567, allocations: 7.953 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.257, allocations: 158.2 kB / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.257, allocations: 0 / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.257, allocations: 4 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.257, allocations: 3.984 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.2575, allocations: 349.5 kB / 442.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2575, allocations: 0 / 442.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.2576, allocations: 31.92 kB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2576, allocations: 0 / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2576, allocations: 0 / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2576, allocations: 4 kB / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2576, allocations: 0 / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2578, allocations: 213.8 kB / 442.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.2579, allocations: 19.88 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2579, allocations: 3.984 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.258, allocations: 8 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.258, allocations: 7.984 kB / 442.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.258, allocations: 8 kB / 443 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.2581, allocations: 99.14 kB / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2581, allocations: 0 / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.2584, allocations: 59.88 kB / 443.1 MB, free: 10.21 MB / 350.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.0007003/0.2591, allocations: 0.7943 MB / 443.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2593, allocations: 75.84 kB / 444 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2593, allocations: 0 / 444 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.2594, allocations: 40.23 kB / 444 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.2598, allocations: 47.94 kB / 444.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.2614, allocations: 1.576 MB / 445.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.378e-05/0.2615, allocations: 75.77 kB / 445.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.2616, allocations: 37.11 kB / 445.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.2617, allocations: 31.41 kB / 445.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2617, allocations: 0 / 445.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.2913, allocations: 4.567 MB / 450.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.48, allocations: 6.562 kB / 450.4 MB, free: 2.977 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.999704636982642]