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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 50.53 MB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006527/0.2348, allocations: 4.926 MB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000806/0.2356, allocations: 0.6232 MB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.2357, allocations: 0 / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.2359, allocations: 23.83 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.2373, allocations: 0.5878 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2376, allocations: 99.17 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.2378, allocations: 183.3 kB / 415.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.2379, allocations: 4 kB / 415.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.2389, allocations: 0.6158 MB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.239, allocations: 47.77 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.239, allocations: 4 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.2404, allocations: 0.8852 MB / 416.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.2405, allocations: 23.91 kB / 416.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.2406, allocations: 51.78 kB / 416.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.241, allocations: 234.3 kB / 417 MB, free: 9.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.241, allocations: 3.984 kB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.241, allocations: 0 / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2411, allocations: 0 / 417 MB, free: 9.246 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.0004849/0.2416, allocations: 434.6 kB / 417.5 MB, free: 8.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2416, allocations: 12.03 kB / 417.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.2416, allocations: 42.73 kB / 417.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.242, allocations: 36.86 kB / 417.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2423, allocations: 192.3 kB / 417.7 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2423, allocations: 8.125 kB / 417.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2423, allocations: 12 kB / 417.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.2426, allocations: 147.4 kB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2426, allocations: 0 / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2426, allocations: 0 / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2426, allocations: 4 kB / 417.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2428, allocations: 111.8 kB / 418 MB, free: 8.156 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.0006683/0.2435, allocations: 0.6529 MB / 418.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.2436, allocations: 86.48 kB / 418.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.2437, allocations: 40.84 kB / 418.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000579/0.2443, allocations: 0.8037 MB / 419.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.2443, allocations: 38.56 kB / 419.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2443, allocations: 0 / 419.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002891/0.2446, allocations: 137.7 kB / 419.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2447, allocations: 59.34 kB / 419.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.2448, allocations: 117.8 kB / 419.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2448, allocations: 25.7 kB / 420 MB, free: 5.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2448, allocations: 107.9 kB / 420.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.2449, allocations: 39.64 kB / 420.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.2449, allocations: 41.67 kB / 420.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2451, allocations: 322.8 kB / 420.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.2451, allocations: 23.98 kB / 420.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.2452, allocations: 69.2 kB / 420.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2453, allocations: 112.6 kB / 420.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2454, allocations: 0 / 420.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002076/0.2456, allocations: 141.5 kB / 420.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2456, allocations: 4 kB / 420.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2456, allocations: 160 / 420.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2456, allocations: 11.94 kB / 420.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2457, allocations: 27.98 kB / 420.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2458, allocations: 4 kB / 420.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.2458, allocations: 15.89 kB / 420.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.2459, allocations: 15.92 kB / 420.9 MB, free: 4.914 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 8.338e-05/0.2459, allocations: 121.8 kB / 421 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.246, allocations: 7.953 kB / 421 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.2463, allocations: 142.3 kB / 421.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2463, allocations: 4 kB / 421.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2463, allocations: 0 / 421.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2463, allocations: 0 / 421.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.2467, allocations: 394.4 kB / 421.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2468, allocations: 4 kB / 421.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.2468, allocations: 23.94 kB / 421.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2469, allocations: 0 / 421.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2469, allocations: 11.98 kB / 421.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2469, allocations: 0 / 421.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2469, allocations: 0 / 421.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.2471, allocations: 207 kB / 421.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.2472, allocations: 100.9 kB / 421.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.2472, allocations: 0 / 421.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.342e-05/0.2473, allocations: 4 kB / 421.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.2473, allocations: 11.98 kB / 421.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2473, allocations: 11.98 kB / 421.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.2474, allocations: 95.16 kB / 422 MB, free: 3.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2474, allocations: 0 / 422 MB, free: 3.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.2477, allocations: 63.86 kB / 422.1 MB, free: 3.625 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.0006108/0.2483, allocations: 0.7903 MB / 422.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.2485, allocations: 95.83 kB / 422.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2485, allocations: 0 / 422.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.2486, allocations: 40.23 kB / 423 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.249, allocations: 39.95 kB / 423 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2505, allocations: 1.577 MB / 424.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2507, allocations: 0.6967 MB / 425.3 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.2509, allocations: 41.14 kB / 425.3 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.2509, allocations: 27.44 kB / 425.4 MB, free: 176 kB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2509, allocations: 0 / 425.4 MB, free: 176 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2721, allocations: 3.839 MB / 429.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.522, allocations: 8.25 kB / 429.2 MB, free: 12.43 MB / 350.1 MB (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.000404 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches