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/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_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_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.001092/0.001092, allocations: 181.6 kB / 17.01 MB, free: 5.125 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.644/1.644, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009131/0.0009132, allocations: 89.05 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3315, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.506/0.8376, allocations: 190.7 MB / 0.5532 GB, free: 48.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.838, allocations: 81.02 kB / 0.5533 GB, free: 48.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05397/0.892, allocations: 23 MB / 0.5757 GB, free: 28.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.069e-06/0.8921, allocations: 0 / 0.5757 GB, free: 28.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.8921, allocations: 7.938 kB / 0.5757 GB, free: 28.44 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.0009654/0.8931, allocations: 445.7 kB / 0.5762 GB, free: 27.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.8932, allocations: 12.02 kB / 0.5762 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.8937, allocations: 31.2 kB / 0.5762 GB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.8939, allocations: 194.5 kB / 0.5764 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.8939, allocations: 7.625 kB / 0.5764 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.894, allocations: 4 kB / 0.5764 GB, free: 27.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.8942, allocations: 142.3 kB / 0.5765 GB, free: 27.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.8943, allocations: 0 / 0.5765 GB, free: 27.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.8943, allocations: 11.92 kB / 0.5765 GB, free: 27.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8943, allocations: 0 / 0.5765 GB, free: 27.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.8945, allocations: 109.1 kB / 0.5767 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.8952, allocations: 0.6149 MB / 0.5773 GB, free: 26.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.8954, allocations: 87.8 kB / 0.5773 GB, free: 26.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.896, allocations: 0.8142 MB / 0.5781 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.896, allocations: 34.56 kB / 0.5782 GB, free: 25.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.896, allocations: 3.938 kB / 0.5782 GB, free: 25.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003134/0.8964, allocations: 123.9 kB / 0.5783 GB, free: 25.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.8964, allocations: 59.34 kB / 0.5783 GB, free: 25.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.8965, allocations: 109.2 kB / 0.5784 GB, free: 25.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.8965, allocations: 29.58 kB / 0.5785 GB, free: 25.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.8966, allocations: 98.81 kB / 0.5786 GB, free: 25.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.8966, allocations: 46.52 kB / 0.5786 GB, free: 25.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.8967, allocations: 7.938 kB / 0.5786 GB, free: 25.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.8967, allocations: 318.3 kB / 0.5789 GB, free: 24.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.691e-05/0.8968, allocations: 27.17 kB / 0.579 GB, free: 24.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.8969, allocations: 63.11 kB / 0.579 GB, free: 24.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.249e-05/0.8969, allocations: 41.86 kB / 0.5791 GB, free: 24.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8969, allocations: 0 / 0.5791 GB, free: 24.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002062/0.8972, allocations: 131.5 kB / 0.5792 GB, free: 24.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.8972, allocations: 15.89 kB / 0.5792 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8972, allocations: 0 / 0.5792 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.8972, allocations: 7.984 kB / 0.5792 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.8974, allocations: 31.42 kB / 0.5792 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8974, allocations: 0 / 0.5792 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.8975, allocations: 11.84 kB / 0.5792 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.8975, allocations: 11.44 kB / 0.5793 GB, free: 24.66 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 9.756e-05/0.8976, allocations: 126.5 kB / 0.5794 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.8976, allocations: 7.906 kB / 0.5794 GB, free: 24.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.8979, allocations: 154.6 kB / 0.5795 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8979, allocations: 0 / 0.5795 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8979, allocations: 3.938 kB / 0.5795 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.898, allocations: 4 kB / 0.5795 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.8984, allocations: 396.3 kB / 0.5799 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8984, allocations: 0 / 0.5799 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.8984, allocations: 27.7 kB / 0.5799 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8985, allocations: 4 kB / 0.5799 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.8985, allocations: 3.984 kB / 0.5799 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.8985, allocations: 0 / 0.5799 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8985, allocations: 7.922 kB / 0.58 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.8987, allocations: 199.5 kB / 0.5801 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.8987, allocations: 99.67 kB / 0.5802 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.8987, allocations: 3.953 kB / 0.5802 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.8988, allocations: 7.5 kB / 0.5803 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.8989, allocations: 7.984 kB / 0.5803 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.8989, allocations: 4 kB / 0.5803 GB, free: 23.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.8989, allocations: 98.33 kB / 0.5804 GB, free: 23.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8989, allocations: 0 / 0.5804 GB, free: 23.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.8993, allocations: 63.36 kB / 0.5804 GB, free: 23.48 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.0002909/0.8996, allocations: 158.8 kB / 0.5806 GB, free: 23.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.8998, allocations: 74.53 kB / 0.5806 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8998, allocations: 4.062 kB / 0.5806 GB, free: 23.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.631e-05/0.8999, allocations: 45.98 kB / 0.5807 GB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.9002, allocations: 35.95 kB / 0.5807 GB, free: 23.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.9007, allocations: 297.3 kB / 0.581 GB, free: 22.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.9009, allocations: 0.697 MB / 0.5817 GB, free: 22.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.901, allocations: 41 kB / 0.5817 GB, free: 22.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.9011, allocations: 19 kB / 0.5817 GB, free: 22.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.9011, allocations: 0 / 0.5817 GB, free: 22.11 MB / 378.7 MB Notification: Performance of Templates: time 0.005201/0.9063, allocations: 2.23 MB / 0.5839 GB, free: 19.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/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_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches