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.001443/0.001443, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 91.62 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.409e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3852, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5863/0.9715, allocations: 189.9 MB / 0.5393 GB, free: 87.17 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.9719, allocations: 75.8 kB / 0.5394 GB, free: 87.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08709/1.059, allocations: 22.78 MB / 0.5616 GB, free: 70.96 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.334e-06/1.059, allocations: 3.938 kB / 0.5616 GB, free: 70.96 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/1.059, allocations: 0 / 0.5616 GB, free: 70.96 MB / 395.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.0009072/1.06, allocations: 437.8 kB / 0.562 GB, free: 70.5 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/1.06, allocations: 12.03 kB / 0.5621 GB, free: 70.48 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00093/1.061, allocations: 27.88 kB / 0.5621 GB, free: 70.46 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/1.061, allocations: 210.4 kB / 0.5623 GB, free: 70.22 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.061, allocations: 0 / 0.5623 GB, free: 70.22 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.062, allocations: 12 kB / 0.5623 GB, free: 70.21 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003617/1.062, allocations: 92.38 kB / 0.5624 GB, free: 70.14 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/1.062, allocations: 115.2 kB / 0.5625 GB, free: 70.03 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.062, allocations: 0 / 0.5625 GB, free: 70.03 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/1.062, allocations: 0 / 0.5625 GB, free: 70.03 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.062, allocations: 7.953 kB / 0.5625 GB, free: 70.02 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/1.064, allocations: 0.5898 MB / 0.5631 GB, free: 69.44 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/1.064, allocations: 83.06 kB / 0.5632 GB, free: 69.37 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/1.064, allocations: 27.98 kB / 0.5632 GB, free: 69.34 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008788/1.065, allocations: 0.8104 MB / 0.564 GB, free: 68.36 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.065, allocations: 46.02 kB / 0.564 GB, free: 68.3 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 4.458e-06/1.065, allocations: 0 / 0.564 GB, free: 68.3 MB / 395.1 MB Notification: Performance of matching and sorting (n=13): time 0.001411/1.066, allocations: 136.4 kB / 0.5641 GB, free: 68.18 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/1.066, allocations: 51.41 kB / 0.5642 GB, free: 68.12 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.067, allocations: 104.9 kB / 0.5643 GB, free: 68.01 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/1.067, allocations: 25.7 kB / 0.5643 GB, free: 67.98 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/1.067, allocations: 173.9 kB / 0.5645 GB, free: 67.81 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/1.067, allocations: 54.42 kB / 0.5645 GB, free: 67.76 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/1.067, allocations: 0 / 0.5645 GB, free: 67.76 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/1.067, allocations: 314.2 kB / 0.5648 GB, free: 67.45 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/1.067, allocations: 26.88 kB / 0.5649 GB, free: 67.43 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/1.067, allocations: 59.39 kB / 0.5649 GB, free: 67.36 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/1.068, allocations: 68.88 kB / 0.565 GB, free: 67.3 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.068, allocations: 0 / 0.565 GB, free: 67.3 MB / 395.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001364/1.07, allocations: 158.8 kB / 0.5651 GB, free: 67.16 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/1.07, allocations: 6.656 kB / 0.5651 GB, free: 67.16 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.07, allocations: 4 kB / 0.5651 GB, free: 67.15 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.07, allocations: 4.109 kB / 0.5651 GB, free: 67.15 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/1.07, allocations: 35.98 kB / 0.5652 GB, free: 67.11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.07, allocations: 3.938 kB / 0.5652 GB, free: 67.11 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/1.07, allocations: 7.938 kB / 0.5652 GB, free: 67.1 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/1.07, allocations: 15.42 kB / 0.5652 GB, free: 67.09 MB / 395.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 () * 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 0.0001154/1.071, allocations: 101 kB / 0.5653 GB, free: 66.98 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/1.071, allocations: 7.906 kB / 0.5653 GB, free: 66.98 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/1.072, allocations: 175 kB / 0.5655 GB, free: 66.83 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.072, allocations: 11.94 kB / 0.5655 GB, free: 66.82 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.072, allocations: 0 / 0.5655 GB, free: 66.82 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.072, allocations: 0 / 0.5655 GB, free: 66.82 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/1.074, allocations: 384.1 kB / 0.5659 GB, free: 66.43 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.074, allocations: 3.984 kB / 0.5659 GB, free: 66.43 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/1.074, allocations: 19.94 kB / 0.5659 GB, free: 66.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.074, allocations: 0 / 0.5659 GB, free: 66.41 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1.074, allocations: 19.44 kB / 0.5659 GB, free: 66.39 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.074, allocations: 3.938 kB / 0.5659 GB, free: 66.39 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.074, allocations: 0 / 0.5659 GB, free: 66.39 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.076, allocations: 222.8 kB / 0.5661 GB, free: 66.17 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.076, allocations: 96 kB / 0.5662 GB, free: 66.07 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/1.076, allocations: 11.92 kB / 0.5662 GB, free: 66.05 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/1.076, allocations: 7.953 kB / 0.5662 GB, free: 66.05 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/1.076, allocations: 11.98 kB / 0.5662 GB, free: 66.04 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/1.076, allocations: 7.75 kB / 0.5662 GB, free: 66.03 MB / 395.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/1.076, allocations: 86.59 kB / 0.5663 GB, free: 65.95 MB / 395.1 MB Notification: Performance of sort global known variables: time 9.72e-07/1.076, allocations: 0 / 0.5663 GB, free: 65.95 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000748/1.077, allocations: 55.92 kB / 0.5664 GB, free: 65.89 MB / 395.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 () * 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.0004755/1.077, allocations: 159 kB / 0.5665 GB, free: 65.73 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003051/1.078, allocations: 71.23 kB / 0.5666 GB, free: 65.68 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.078, allocations: 0 / 0.5666 GB, free: 65.68 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/1.078, allocations: 35.62 kB / 0.5666 GB, free: 65.65 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/1.079, allocations: 35.2 kB / 0.5667 GB, free: 65.62 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/1.079, allocations: 132.9 kB / 0.5668 GB, free: 65.47 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/1.08, allocations: 0.6928 MB / 0.5675 GB, free: 64.75 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/1.08, allocations: 27.41 kB / 0.5675 GB, free: 64.72 MB / 395.1 MB Notification: Performance of SimCode: time 1.773e-06/1.08, allocations: 0 / 0.5675 GB, free: 64.72 MB / 395.1 MB Notification: Performance of Templates: time 0.008734/1.088, allocations: 2.265 MB / 0.5697 GB, free: 62.48 MB / 395.1 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