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.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.001294/0.001294, allocations: 79.7 kB / 21.43 MB, free: 3.129 MB / 18.57 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.008374/0.008374, allocations: 167 kB / 24.69 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9562/0.9562, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.167e-05, allocations: 2.281 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1655/0.1656, allocations: 7.146 MB / 305.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.1663, allocations: 0.5786 MB / 306.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.1663, allocations: 5.156 kB / 306.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1666, allocations: 28.89 kB / 306.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.1685, allocations: 0.6145 MB / 306.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1687, allocations: 89.42 kB / 306.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.169, allocations: 190.4 kB / 307.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.1691, allocations: 2.938 kB / 307.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1702, allocations: 0.6485 MB / 307.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.1703, allocations: 48.84 kB / 307.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1703, allocations: 4.844 kB / 307.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.1716, allocations: 0.8779 MB / 308.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.1717, allocations: 23.14 kB / 308.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.1718, allocations: 35.88 kB / 308.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.1723, allocations: 256.2 kB / 308.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1723, allocations: 0.7031 kB / 309 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1723, allocations: 0 / 309 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1723, allocations: 1.031 kB / 309 MB, free: 11.2 MB / 282.7 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.0006312/0.1729, allocations: 348.7 kB / 309.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.132e-05/0.173, allocations: 18.02 kB / 309.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.173, allocations: 43.22 kB / 309.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/0.1734, allocations: 31.44 kB / 309.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.1737, allocations: 134.1 kB / 309.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1737, allocations: 10.09 kB / 309.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1738, allocations: 9.812 kB / 309.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.1741, allocations: 212.8 kB / 309.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1741, allocations: 384 / 309.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.1741, allocations: 9.344 kB / 309.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1741, allocations: 7.438 kB / 309.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1744, allocations: 110.5 kB / 309.9 MB, free: 10.46 MB / 282.7 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.0007421/0.1751, allocations: 0.5778 MB / 310.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1753, allocations: 75.42 kB / 310.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.1753, allocations: 37.48 kB / 310.6 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.1756, allocations: 60.25 kB / 310.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1756, allocations: 32.48 kB / 310.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.1756, allocations: 1.062 kB / 310.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002875/0.1759, allocations: 133.9 kB / 310.8 MB, free: 9.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1759, allocations: 60.47 kB / 310.8 MB, free: 9.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.176, allocations: 121.5 kB / 311 MB, free: 9.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.176, allocations: 30.98 kB / 311 MB, free: 9.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.1761, allocations: 100.6 kB / 311.1 MB, free: 9.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1761, allocations: 48.08 kB / 311.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1761, allocations: 37.11 kB / 311.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.1762, allocations: 319.7 kB / 311.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.1762, allocations: 26.77 kB / 311.5 MB, free: 9.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.1763, allocations: 68.91 kB / 311.6 MB, free: 8.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1764, allocations: 111.5 kB / 311.7 MB, free: 8.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1764, allocations: 1.188 kB / 311.7 MB, free: 8.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000162/0.1766, allocations: 142 kB / 311.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1766, allocations: 5.938 kB / 311.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1766, allocations: 2.125 kB / 311.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1766, allocations: 2.344 kB / 311.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.1767, allocations: 33.67 kB / 311.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.1767, allocations: 6.531 kB / 311.9 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.1767, allocations: 19.61 kB / 311.9 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.1768, allocations: 8.516 kB / 311.9 MB, free: 8.793 MB / 282.7 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 5.761e-05/0.1768, allocations: 118.9 kB / 312 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.1769, allocations: 12.7 kB / 312 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.1771, allocations: 139.9 kB / 312.2 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.1771, allocations: 5.625 kB / 312.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1771, allocations: 4.641 kB / 312.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1771, allocations: 0.9375 kB / 312.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.1775, allocations: 353.2 kB / 312.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1775, allocations: 0 / 312.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.1775, allocations: 24.36 kB / 312.5 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1775, allocations: 2.312 kB / 312.5 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1776, allocations: 6.031 kB / 312.5 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1776, allocations: 5.156 kB / 312.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1776, allocations: 0 / 312.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1777, allocations: 199.4 kB / 312.7 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.1778, allocations: 27.34 kB / 312.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1778, allocations: 9.156 kB / 312.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.1779, allocations: 9.031 kB / 312.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1779, allocations: 9.031 kB / 312.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1779, allocations: 9.812 kB / 312.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.178, allocations: 95 kB / 312.9 MB, free: 7.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.178, allocations: 0 / 312.9 MB, free: 7.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.1783, allocations: 56.95 kB / 313 MB, free: 7.984 MB / 282.7 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.0006127/0.1789, allocations: 0.7924 MB / 313.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.1792, allocations: 79.66 kB / 313.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1792, allocations: 0 / 313.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.1792, allocations: 34.58 kB / 313.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1796, allocations: 55.44 kB / 313.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1807, allocations: 1.565 MB / 315.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.082e-05/0.1808, allocations: 79.02 kB / 315.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1809, allocations: 33.44 kB / 315.6 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.181, allocations: 29.67 kB / 315.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.181, allocations: 1.406 kB / 315.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.2015, allocations: 4.604 MB / 320.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/7.076, allocations: 11.73 kB / 320.2 MB, free: 4.051 MB / 282.7 MB " [Timeout remaining time 653] (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.000201919 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.943801110610366]