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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008841/0.000884, allocations: 101.1 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002102/0.0002103, allocations: 8 kB / 357.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1927, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.5356, allocations: 188 MB / 0.5834 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/0.5358, allocations: 71.66 kB / 0.5834 GB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04773/0.5835, allocations: 22.97 MB / 0.6059 GB, free: 6.621 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5836, allocations: 0 / 0.6059 GB, free: 6.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.5836, allocations: 0 / 0.6059 GB, free: 6.621 MB / 394.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.00047/0.5841, allocations: 446.2 kB / 0.6063 GB, free: 6.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5841, allocations: 8.031 kB / 0.6063 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.5845, allocations: 39.81 kB / 0.6063 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.5846, allocations: 190.6 kB / 0.6065 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5846, allocations: 7.688 kB / 0.6065 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.5847, allocations: 8 kB / 0.6065 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.5849, allocations: 140.7 kB / 0.6067 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5849, allocations: 3.938 kB / 0.6067 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.5849, allocations: 0 / 0.6067 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.5849, allocations: 7.938 kB / 0.6067 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.5851, allocations: 114.5 kB / 0.6068 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.5856, allocations: 0.6165 MB / 0.6074 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.5858, allocations: 93.47 kB / 0.6075 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.5863, allocations: 0.8035 MB / 0.6083 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5864, allocations: 42.38 kB / 0.6083 GB, free: 3.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.5864, allocations: 0 / 0.6083 GB, free: 3.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002365/0.5866, allocations: 120.1 kB / 0.6084 GB, free: 3.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.5867, allocations: 51.41 kB / 0.6085 GB, free: 3.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.5867, allocations: 112.5 kB / 0.6086 GB, free: 3.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.5868, allocations: 25.7 kB / 0.6086 GB, free: 3.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.5868, allocations: 107.5 kB / 0.6087 GB, free: 3.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.5868, allocations: 50.73 kB / 0.6088 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.5869, allocations: 0 / 0.6088 GB, free: 3.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.5869, allocations: 322.3 kB / 0.6091 GB, free: 3.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.587, allocations: 26.98 kB / 0.6091 GB, free: 3.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.136e-05/0.5871, allocations: 63.77 kB / 0.6091 GB, free: 3.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/0.5871, allocations: 37.92 kB / 0.6092 GB, free: 3.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5871, allocations: 0 / 0.6092 GB, free: 3.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001744/0.5873, allocations: 131.7 kB / 0.6093 GB, free: 2.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5873, allocations: 11.95 kB / 0.6093 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5873, allocations: 0 / 0.6093 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5874, allocations: 7.984 kB / 0.6093 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5875, allocations: 35.23 kB / 0.6094 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5875, allocations: 4 kB / 0.6094 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.5875, allocations: 16 kB / 0.6094 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.5876, allocations: 7.938 kB / 0.6094 GB, free: 2.836 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/0.5877, allocations: 117.3 kB / 0.6095 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.5877, allocations: 11.91 kB / 0.6095 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.588, allocations: 150.9 kB / 0.6097 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.588, allocations: 4 kB / 0.6097 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.588, allocations: 0 / 0.6097 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.588, allocations: 7.875 kB / 0.6097 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.5884, allocations: 395.1 kB / 0.61 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5884, allocations: 3.953 kB / 0.61 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.5885, allocations: 27.98 kB / 0.6101 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5885, allocations: 0 / 0.6101 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5885, allocations: 3.984 kB / 0.6101 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5885, allocations: 3.938 kB / 0.6101 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5885, allocations: 8 kB / 0.6101 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.5887, allocations: 198.8 kB / 0.6103 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.5888, allocations: 100.4 kB / 0.6104 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5888, allocations: 7.5 kB / 0.6104 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.5889, allocations: 0 / 0.6104 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.5889, allocations: 11.3 kB / 0.6104 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5889, allocations: 4 kB / 0.6104 GB, free: 1.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.589, allocations: 94.77 kB / 0.6105 GB, free: 1.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.589, allocations: 0 / 0.6105 GB, free: 1.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.5893, allocations: 67.81 kB / 0.6106 GB, free: 1.664 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002472/0.5896, allocations: 174.1 kB / 0.6107 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.5897, allocations: 81.28 kB / 0.6108 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5897, allocations: 0 / 0.6108 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.5898, allocations: 38.67 kB / 0.6108 GB, free: 1.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.5901, allocations: 44.36 kB / 0.6109 GB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.5905, allocations: 293.6 kB / 0.6112 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.5907, allocations: 0.7008 MB / 0.6118 GB, free: 328 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.5909, allocations: 24.81 kB / 0.6119 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.5909, allocations: 27.16 kB / 0.6119 GB, free: 276 kB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5909, allocations: 0 / 0.6119 GB, free: 276 kB / 394.7 MB Notification: Performance of Templates: time 0.004604/0.5955, allocations: 2.264 MB / 0.6141 GB, free: 14.06 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (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 & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches