Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 105.3 kB / 17.58 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002376/0.002376, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.327/2.327, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.94 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1428, allocations: 46.64 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01884/0.1617, allocations: 7.754 MB / 335.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1634, allocations: 0.627 MB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.1635, allocations: 0 / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.1639, allocations: 27.83 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.1666, allocations: 0.58 MB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.1671, allocations: 91.8 kB / 336.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.1676, allocations: 179.2 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.1677, allocations: 4 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.1694, allocations: 0.616 MB / 337.2 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1696, allocations: 43.83 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.1696, allocations: 8 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.1722, allocations: 0.8618 MB / 338.2 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.1723, allocations: 15.92 kB / 338.2 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1725, allocations: 55.72 kB / 338.2 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.1734, allocations: 235.5 kB / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1734, allocations: 0 / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1734, allocations: 0 / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1734, allocations: 0 / 338.5 MB, free: 9.223 MB / 286.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.001102/0.1746, allocations: 427.1 kB / 338.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.243e-05/0.1747, allocations: 12.03 kB / 338.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.86e-05/0.1748, allocations: 42.73 kB / 338.9 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/0.1756, allocations: 32.81 kB / 339 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.176, allocations: 192.2 kB / 339.1 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.176, allocations: 12.38 kB / 339.2 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1761, allocations: 12.38 kB / 339.2 MB, free: 8.414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.1765, allocations: 144.9 kB / 339.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1766, allocations: 0 / 339.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.1766, allocations: 4 kB / 339.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1766, allocations: 4 kB / 339.3 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.177, allocations: 103.9 kB / 339.4 MB, free: 8.145 MB / 286.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.001276/0.1782, allocations: 0.6721 MB / 340.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.1785, allocations: 86.55 kB / 340.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1787, allocations: 36.84 kB / 340.2 MB, free: 7.266 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.1797, allocations: 0.8115 MB / 341 MB, free: 6.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.1798, allocations: 34.5 kB / 341.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.026e-06/0.1798, allocations: 4 kB / 341.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004963/0.1803, allocations: 130 kB / 341.2 MB, free: 6.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.1804, allocations: 55.41 kB / 341.2 MB, free: 6.023 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1806, allocations: 117.8 kB / 341.4 MB, free: 5.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1806, allocations: 25.7 kB / 341.4 MB, free: 5.867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1808, allocations: 107.8 kB / 341.5 MB, free: 5.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.1808, allocations: 39.39 kB / 341.5 MB, free: 5.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.1809, allocations: 41.62 kB / 341.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1811, allocations: 322.8 kB / 341.9 MB, free: 5.348 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.1812, allocations: 23.98 kB / 341.9 MB, free: 5.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1814, allocations: 73.06 kB / 342 MB, free: 5.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1817, allocations: 105.4 kB / 342.1 MB, free: 5.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1817, allocations: 0 / 342.1 MB, free: 5.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003785/0.1821, allocations: 141.4 kB / 342.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.1821, allocations: 7.281 kB / 342.2 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1821, allocations: 7.938 kB / 342.2 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.1822, allocations: 4.156 kB / 342.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.1824, allocations: 31.92 kB / 342.3 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/0.1825, allocations: 7.938 kB / 342.3 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.1826, allocations: 15.84 kB / 342.3 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.1827, allocations: 11.98 kB / 342.3 MB, free: 4.887 MB / 286.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.0001823/0.1829, allocations: 117.8 kB / 342.4 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.1829, allocations: 7.906 kB / 342.4 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.1834, allocations: 138.6 kB / 342.6 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.1835, allocations: 7.938 kB / 342.6 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.1835, allocations: 0 / 342.6 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1835, allocations: 0 / 342.6 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.1844, allocations: 402.5 kB / 343 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1844, allocations: 0 / 343 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1846, allocations: 27.92 kB / 343 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1846, allocations: 0 / 343 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1846, allocations: 8 kB / 343 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1846, allocations: 0 / 343 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1846, allocations: 0 / 343 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.185, allocations: 207.4 kB / 343.2 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.1851, allocations: 97.02 kB / 343.3 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1852, allocations: 0 / 343.3 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1854, allocations: 8 kB / 343.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1854, allocations: 7.984 kB / 343.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1855, allocations: 8 kB / 343.3 MB, free: 3.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1856, allocations: 95.2 kB / 343.4 MB, free: 3.676 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1856, allocations: 0 / 343.4 MB, free: 3.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000595/0.1862, allocations: 67.84 kB / 343.5 MB, free: 3.609 MB / 286.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.00136/0.1876, allocations: 0.8021 MB / 344.3 MB, free: 2.777 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.188, allocations: 83.91 kB / 344.4 MB, free: 2.695 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.188, allocations: 0 / 344.4 MB, free: 2.695 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1881, allocations: 43.92 kB / 344.4 MB, free: 2.652 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.1893, allocations: 44.25 kB / 344.5 MB, free: 2.609 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.1925, allocations: 1.561 MB / 346 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.193, allocations: 0.7005 MB / 346.7 MB, free: 216 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1932, allocations: 29.03 kB / 346.7 MB, free: 188 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1934, allocations: 35.41 kB / 346.8 MB, free: 152 kB / 286.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1934, allocations: 0 / 346.8 MB, free: 152 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.2291, allocations: 3.844 MB / 350.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.41, allocations: 0 / 350.6 MB, free: 12.24 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches