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.001291/0.001291, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001435/0.001435, allocations: 214.1 kB / 23.74 MB, free: 4.66 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.409/1.409, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001819/0.001819, allocations: 55.91 kB / 377.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2396, allocations: 53.42 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007494/0.2471, allocations: 4.99 MB / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.248, allocations: 0.627 MB / 436.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.248, allocations: 0 / 436.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.2483, allocations: 27.78 kB / 436.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2497, allocations: 0.6112 MB / 437.4 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.25, allocations: 95.34 kB / 437.5 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.2502, allocations: 183.2 kB / 437.7 MB, free: 160 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.2503, allocations: 8 kB / 437.7 MB, free: 152 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.2514, allocations: 0.6276 MB / 438.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.2515, allocations: 47.72 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2515, allocations: 4 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.253, allocations: 0.9236 MB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.253, allocations: 27.91 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.2531, allocations: 43.75 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.2535, allocations: 236.3 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2535, allocations: 7.938 kB / 439.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2535, allocations: 0 / 439.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2535, allocations: 4 kB / 439.6 MB, free: 14.23 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.0005114/0.254, allocations: 353.6 kB / 440 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2541, allocations: 12.03 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.2541, allocations: 42.72 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.2545, allocations: 36.86 kB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.2547, allocations: 134.4 kB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2547, allocations: 12.12 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2548, allocations: 8 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.255, allocations: 139.8 kB / 440.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.255, allocations: 3.938 kB / 440.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2551, allocations: 8 kB / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2551, allocations: 0 / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.2552, allocations: 107.9 kB / 440.5 MB, free: 13.32 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.0007447/0.256, allocations: 0.6324 MB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2561, allocations: 78.48 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.2562, allocations: 40.78 kB / 441.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.2564, allocations: 59.92 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2565, allocations: 38.56 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2565, allocations: 0 / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002971/0.2568, allocations: 125.8 kB / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2568, allocations: 55.41 kB / 441.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2569, allocations: 117.8 kB / 441.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.2569, allocations: 29.7 kB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.257, allocations: 100.3 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.257, allocations: 47.62 kB / 441.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.2571, allocations: 41.66 kB / 441.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2573, allocations: 326.8 kB / 442.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.2573, allocations: 35.92 kB / 442.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.2574, allocations: 71.86 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2575, allocations: 104.5 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2575, allocations: 0 / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002194/0.2578, allocations: 137.5 kB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2578, allocations: 4.156 kB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2578, allocations: 4 kB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2578, allocations: 7.938 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2579, allocations: 35.92 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2579, allocations: 4 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.258, allocations: 11.89 kB / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.258, allocations: 8 kB / 442.5 MB, free: 11.05 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.248e-05/0.2581, allocations: 121.8 kB / 442.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.2581, allocations: 7.953 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.2584, allocations: 149.9 kB / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2584, allocations: 4 kB / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2584, allocations: 0 / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2584, allocations: 3.984 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.2589, allocations: 357.4 kB / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2589, allocations: 0 / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.259, allocations: 27.92 kB / 443.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.259, allocations: 4 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.259, allocations: 8 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.259, allocations: 0 / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.259, allocations: 0 / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.2592, allocations: 211 kB / 443.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.2593, allocations: 19.94 kB / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.2593, allocations: 8 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.2594, allocations: 4 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.2594, allocations: 7.984 kB / 443.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2594, allocations: 12 kB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.311e-05/0.2595, allocations: 91.27 kB / 443.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2595, allocations: 0 / 443.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.2598, allocations: 63.8 kB / 443.6 MB, free: 9.895 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.000663/0.2605, allocations: 0.7983 MB / 444.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.2607, allocations: 79.91 kB / 444.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2607, allocations: 320 / 444.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.2607, allocations: 39.91 kB / 444.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.2611, allocations: 39.95 kB / 444.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.2628, allocations: 1.576 MB / 446.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2631, allocations: 0.6928 MB / 446.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.2632, allocations: 40.81 kB / 446.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.2633, allocations: 27.44 kB / 446.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2633, allocations: 0 / 446.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2925, allocations: 4.057 MB / 451 MB, free: 2.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.16, allocations: 3.5 kB / 451 MB, free: 2.508 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.689757654999994]