Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 184.4 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 90.97 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 12 kB / 327 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 47.58 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5607/0.9005, allocations: 190.7 MB / 0.552 GB, free: 48.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.9009, allocations: 81.06 kB / 0.552 GB, free: 48.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08048/0.9814, allocations: 23 MB / 0.5745 GB, free: 28.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.9814, allocations: 0 / 0.5745 GB, free: 28.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.9814, allocations: 4 kB / 0.5745 GB, free: 28.58 MB / 378.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.0005536/0.982, allocations: 445.8 kB / 0.5749 GB, free: 28.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.9821, allocations: 12.02 kB / 0.5749 GB, free: 28.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.9826, allocations: 31.89 kB / 0.575 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.9828, allocations: 198 kB / 0.5752 GB, free: 27.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.9828, allocations: 4 kB / 0.5752 GB, free: 27.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.9828, allocations: 11.5 kB / 0.5752 GB, free: 27.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.9831, allocations: 135.3 kB / 0.5753 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9831, allocations: 0 / 0.5753 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.9832, allocations: 4 kB / 0.5753 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9832, allocations: 0 / 0.5753 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.9834, allocations: 116.6 kB / 0.5754 GB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007164/0.9842, allocations: 0.6229 MB / 0.576 GB, free: 26.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.9844, allocations: 81.14 kB / 0.5761 GB, free: 26.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.985, allocations: 0.8186 MB / 0.5769 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.985, allocations: 33.81 kB / 0.5769 GB, free: 25.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.407e-06/0.985, allocations: 0 / 0.5769 GB, free: 25.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003673/0.9854, allocations: 130 kB / 0.5771 GB, free: 25.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.9854, allocations: 55.41 kB / 0.5771 GB, free: 25.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.9855, allocations: 104.8 kB / 0.5772 GB, free: 25.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.9856, allocations: 37.06 kB / 0.5772 GB, free: 25.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.9856, allocations: 170.2 kB / 0.5774 GB, free: 25.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.9857, allocations: 46.92 kB / 0.5774 GB, free: 25.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.9857, allocations: 3.812 kB / 0.5774 GB, free: 25.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.9858, allocations: 318.3 kB / 0.5778 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.9858, allocations: 26.92 kB / 0.5778 GB, free: 25.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.709e-05/0.9859, allocations: 63.95 kB / 0.5778 GB, free: 24.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/0.986, allocations: 37.81 kB / 0.5779 GB, free: 24.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9861, allocations: 0 / 0.5779 GB, free: 24.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002745/0.9863, allocations: 131.8 kB / 0.578 GB, free: 24.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.9864, allocations: 11.95 kB / 0.578 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9864, allocations: 0 / 0.578 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9864, allocations: 8.156 kB / 0.578 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.9866, allocations: 39.45 kB / 0.5781 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.9866, allocations: 7.938 kB / 0.5781 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.9868, allocations: 7.844 kB / 0.5781 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.9868, allocations: 11.81 kB / 0.5781 GB, free: 24.73 MB / 378.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 8.67e-05/0.9869, allocations: 113.2 kB / 0.5782 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.9869, allocations: 15.78 kB / 0.5782 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.9874, allocations: 152.2 kB / 0.5784 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9874, allocations: 0 / 0.5784 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.9874, allocations: 3.984 kB / 0.5784 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.9874, allocations: 4 kB / 0.5784 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.988, allocations: 388.7 kB / 0.5787 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.988, allocations: 0 / 0.5787 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.9881, allocations: 31.88 kB / 0.5788 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9882, allocations: 4 kB / 0.5788 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.9882, allocations: 3.984 kB / 0.5788 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.9882, allocations: 0 / 0.5788 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9882, allocations: 3.938 kB / 0.5788 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.9884, allocations: 205.7 kB / 0.579 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.9885, allocations: 100.1 kB / 0.5791 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.9886, allocations: 7.953 kB / 0.5791 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.9887, allocations: 7.188 kB / 0.5791 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.9887, allocations: 7.984 kB / 0.5791 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.9888, allocations: 7.938 kB / 0.5791 GB, free: 23.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.043e-05/0.9888, allocations: 94.64 kB / 0.5792 GB, free: 23.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9888, allocations: 0 / 0.5792 GB, free: 23.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.9893, allocations: 63.61 kB / 0.5792 GB, free: 23.55 MB / 378.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.0003061/0.9896, allocations: 158.6 kB / 0.5794 GB, free: 23.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.9899, allocations: 74.34 kB / 0.5795 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9899, allocations: 0 / 0.5795 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.99, allocations: 43.48 kB / 0.5795 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.9905, allocations: 40.94 kB / 0.5795 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.991, allocations: 330.8 kB / 0.5799 GB, free: 22.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.9912, allocations: 0.6931 MB / 0.5805 GB, free: 22.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.713e-05/0.9913, allocations: 23.42 kB / 0.5806 GB, free: 22.18 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.9913, allocations: 0 / 0.5806 GB, free: 22.18 MB / 378.7 MB Notification: Performance of Templates: time 0.005504/0.9968, allocations: 2.268 MB / 0.5828 GB, free: 19.93 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches