Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 177 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.5 MB / 230.3 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009468, allocations: 96.16 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.824e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 50.42 MB / 387.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8427/0.9723, allocations: 186.4 MB / 0.5604 GB, free: 114.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.9726, allocations: 72.8 kB / 0.5605 GB, free: 114.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06694/1.04, allocations: 22.38 MB / 0.5823 GB, free: 109.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.04, allocations: 0 / 0.5823 GB, free: 109.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/1.04, allocations: 3.906 kB / 0.5823 GB, free: 109.8 MB / 426.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.0008236/1.04, allocations: 432.3 kB / 0.5828 GB, free: 109.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/1.041, allocations: 7.812 kB / 0.5828 GB, free: 109.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/1.041, allocations: 38.5 kB / 0.5828 GB, free: 109.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/1.042, allocations: 194.2 kB / 0.583 GB, free: 109.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.042, allocations: 7.844 kB / 0.583 GB, free: 109.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/1.042, allocations: 7.906 kB / 0.583 GB, free: 109.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002739/1.042, allocations: 104.9 kB / 0.5831 GB, free: 109.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/1.042, allocations: 122 kB / 0.5832 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.042, allocations: 0 / 0.5832 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/1.042, allocations: 3.906 kB / 0.5832 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.042, allocations: 0 / 0.5832 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/1.043, allocations: 0.5806 MB / 0.5838 GB, free: 108.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/1.043, allocations: 80.81 kB / 0.5839 GB, free: 108.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/1.043, allocations: 30.17 kB / 0.5839 GB, free: 108.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/1.044, allocations: 0.8132 MB / 0.5847 GB, free: 107.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/1.044, allocations: 30.56 kB / 0.5847 GB, free: 107.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/1.044, allocations: 0 / 0.5847 GB, free: 107.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009278/1.045, allocations: 132.9 kB / 0.5848 GB, free: 107.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/1.045, allocations: 55.31 kB / 0.5849 GB, free: 107.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/1.045, allocations: 108.1 kB / 0.585 GB, free: 107.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/1.045, allocations: 25.7 kB / 0.585 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/1.045, allocations: 103.1 kB / 0.5851 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/1.045, allocations: 48.7 kB / 0.5852 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/1.045, allocations: 0 / 0.5852 GB, free: 107.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/1.045, allocations: 314.3 kB / 0.5855 GB, free: 106.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/1.045, allocations: 34.73 kB / 0.5855 GB, free: 106.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/1.045, allocations: 54.38 kB / 0.5856 GB, free: 106.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/1.046, allocations: 70.16 kB / 0.5856 GB, free: 106.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.046, allocations: 0 / 0.5856 GB, free: 106.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007488/1.047, allocations: 166 kB / 0.5858 GB, free: 106.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.047, allocations: 5.219 kB / 0.5858 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.047, allocations: 7.922 kB / 0.5858 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.047, allocations: 384 / 0.5858 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/1.047, allocations: 35.45 kB / 0.5858 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.047, allocations: 3.984 kB / 0.5858 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.672e-05/1.047, allocations: 11.78 kB / 0.5858 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/1.047, allocations: 15.48 kB / 0.5859 GB, free: 106.6 MB / 426.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 () * 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 8.471e-05/1.047, allocations: 101 kB / 0.586 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/1.047, allocations: 23.03 kB / 0.586 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/1.048, allocations: 162.7 kB / 0.5861 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.048, allocations: 0 / 0.5861 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.048, allocations: 3.906 kB / 0.5861 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.048, allocations: 0 / 0.5861 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/1.049, allocations: 393.5 kB / 0.5865 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.049, allocations: 0 / 0.5865 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/1.049, allocations: 23.47 kB / 0.5865 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.049, allocations: 0 / 0.5865 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/1.049, allocations: 10.98 kB / 0.5865 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.05, allocations: 3.906 kB / 0.5865 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.05, allocations: 0 / 0.5865 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/1.05, allocations: 224.8 kB / 0.5868 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/1.05, allocations: 95.25 kB / 0.5869 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/1.05, allocations: 0 / 0.5869 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/1.05, allocations: 7.891 kB / 0.5869 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/1.051, allocations: 7.906 kB / 0.5869 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/1.051, allocations: 11.89 kB / 0.5869 GB, free: 105.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.316e-05/1.051, allocations: 86.44 kB / 0.587 GB, free: 105.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.051, allocations: 0 / 0.587 GB, free: 105.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005242/1.051, allocations: 58.2 kB / 0.587 GB, free: 105.7 MB / 426.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 () * 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.0003579/1.052, allocations: 161.8 kB / 0.5872 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/1.052, allocations: 69.95 kB / 0.5872 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.052, allocations: 0 / 0.5872 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/1.052, allocations: 41.03 kB / 0.5873 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/1.052, allocations: 44.7 kB / 0.5873 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/1.053, allocations: 112.6 kB / 0.5874 GB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/1.053, allocations: 0.6962 MB / 0.5881 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002297/1.053, allocations: 28.44 kB / 0.5881 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/1.053, allocations: 23.14 kB / 0.5882 GB, free: 104.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/1.053, allocations: 0 / 0.5882 GB, free: 104.8 MB / 426.7 MB Notification: Performance of Templates: time 0.00571/1.059, allocations: 2.136 MB / 0.5902 GB, free: 103.7 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches