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.001616/0.001616, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002009/0.002009, allocations: 217.2 kB / 23.75 MB, free: 4.668 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: 8.008 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.001527/0.001527, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2246, allocations: 53.37 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00732/0.2319, allocations: 4.982 MB / 436.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.2328, allocations: 0.6231 MB / 436.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.2329, allocations: 4 kB / 436.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.2331, allocations: 23.83 kB / 436.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.2346, allocations: 0.6073 MB / 437.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.2349, allocations: 98.67 kB / 437.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.2351, allocations: 187.3 kB / 437.6 MB, free: 300 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.2352, allocations: 7.984 kB / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.2363, allocations: 0.6275 MB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.2364, allocations: 47.83 kB / 438.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2364, allocations: 8 kB / 438.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.238, allocations: 0.9198 MB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.2381, allocations: 15.92 kB / 439.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.2382, allocations: 55.78 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.2386, allocations: 236.3 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2386, allocations: 3.938 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2386, allocations: 4 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2386, allocations: 0 / 439.6 MB, free: 14.38 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.0004967/0.2391, allocations: 349.7 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2391, allocations: 12.02 kB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.2392, allocations: 38.75 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.2396, allocations: 36.86 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2398, allocations: 130.5 kB / 440.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2398, allocations: 16.06 kB / 440.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.2399, allocations: 16 kB / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2401, allocations: 140.1 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2401, allocations: 0 / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2401, allocations: 4 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2401, allocations: 0 / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2403, allocations: 115.8 kB / 440.4 MB, free: 13.46 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.0007698/0.2411, allocations: 0.6324 MB / 441 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2413, allocations: 78.48 kB / 441.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.2413, allocations: 40.78 kB / 441.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.2416, allocations: 63.94 kB / 441.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2416, allocations: 30.56 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2416, allocations: 4 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003178/0.2419, allocations: 141.4 kB / 441.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.242, allocations: 51.41 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2421, allocations: 113.8 kB / 441.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2421, allocations: 29.7 kB / 441.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.2422, allocations: 107.9 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.2422, allocations: 43.64 kB / 441.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.2423, allocations: 37.67 kB / 441.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2424, allocations: 318.8 kB / 442.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.2425, allocations: 23.98 kB / 442.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.2426, allocations: 79.78 kB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.2427, allocations: 101.1 kB / 442.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2427, allocations: 0 / 442.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002324/0.243, allocations: 141.7 kB / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.243, allocations: 8 kB / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.243, allocations: 0 / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.243, allocations: 11.92 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2431, allocations: 31.92 kB / 442.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2432, allocations: 4 kB / 442.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.2432, allocations: 11.89 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2432, allocations: 11.98 kB / 442.5 MB, free: 11.19 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.981e-05/0.2433, allocations: 117.8 kB / 442.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.2434, allocations: 11.98 kB / 442.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.2437, allocations: 146.2 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2437, allocations: 0 / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2437, allocations: 4 kB / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2437, allocations: 0 / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.2442, allocations: 367.1 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2442, allocations: 4 kB / 443.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.2443, allocations: 31.94 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2443, allocations: 3.984 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2443, allocations: 0 / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2443, allocations: 4 kB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2443, allocations: 0 / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.2445, allocations: 207.4 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2446, allocations: 23.88 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.2446, allocations: 0 / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/0.2447, allocations: 4 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.2447, allocations: 15.97 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2447, allocations: 4 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.892e-05/0.2448, allocations: 91.27 kB / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2448, allocations: 4 kB / 443.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.2452, allocations: 63.81 kB / 443.6 MB, free: 10.03 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.0007104/0.2459, allocations: 0.8016 MB / 444.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.2461, allocations: 80.22 kB / 444.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2461, allocations: 4 kB / 444.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.2461, allocations: 35.92 kB / 444.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.2465, allocations: 40.23 kB / 444.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2483, allocations: 1.579 MB / 446.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2486, allocations: 0.6928 MB / 446.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.2488, allocations: 37.02 kB / 446.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.2488, allocations: 27.42 kB / 446.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2488, allocations: 0 / 446.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.2791, allocations: 4.055 MB / 450.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.32, allocations: 8.609 kB / 450.9 MB, free: 2.672 MB / 350.1 MB " [Timeout remaining time 649] (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.821144549001474]