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.001561/0.00156, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001108/0.001108, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.998e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09347, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8447/0.9382, allocations: 190.6 MB / 0.5465 GB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.9385, allocations: 69.78 kB / 0.5466 GB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08073/1.019, allocations: 22.94 MB / 0.569 GB, free: 103.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.019, allocations: 3.938 kB / 0.569 GB, free: 103.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/1.019, allocations: 3.969 kB / 0.569 GB, free: 103.6 MB / 410.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.0005465/1.02, allocations: 432.4 kB / 0.5694 GB, free: 103.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.02, allocations: 7.906 kB / 0.5694 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/1.02, allocations: 38.88 kB / 0.5695 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/1.021, allocations: 198.2 kB / 0.5697 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.021, allocations: 7.562 kB / 0.5697 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/1.021, allocations: 11.31 kB / 0.5697 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/1.021, allocations: 129.9 kB / 0.5698 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.021, allocations: 0 / 0.5698 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/1.021, allocations: 7.469 kB / 0.5698 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.021, allocations: 4 kB / 0.5698 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/1.021, allocations: 111.4 kB / 0.5699 GB, free: 102.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/1.022, allocations: 0.6115 MB / 0.5705 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/1.022, allocations: 91.69 kB / 0.5706 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/1.022, allocations: 42.88 kB / 0.5706 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/1.023, allocations: 0.8098 MB / 0.5714 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/1.023, allocations: 37.75 kB / 0.5715 GB, free: 101.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/1.023, allocations: 0 / 0.5715 GB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003062/1.023, allocations: 95.83 kB / 0.5716 GB, free: 101.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/1.023, allocations: 59.25 kB / 0.5716 GB, free: 101.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/1.023, allocations: 111.7 kB / 0.5717 GB, free: 101 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/1.023, allocations: 25.7 kB / 0.5718 GB, free: 101 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/1.024, allocations: 174.1 kB / 0.5719 GB, free: 100.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/1.024, allocations: 46.14 kB / 0.572 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/1.024, allocations: 3.938 kB / 0.572 GB, free: 100.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/1.024, allocations: 318.4 kB / 0.5723 GB, free: 100.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/1.024, allocations: 26.8 kB / 0.5723 GB, free: 100.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/1.024, allocations: 66.69 kB / 0.5724 GB, free: 100.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/1.024, allocations: 39.22 kB / 0.5724 GB, free: 100.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.024, allocations: 3.875 kB / 0.5724 GB, free: 100.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002693/1.024, allocations: 128.9 kB / 0.5725 GB, free: 100.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.024, allocations: 11.77 kB / 0.5725 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.024, allocations: 0 / 0.5725 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.024, allocations: 3.906 kB / 0.5725 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/1.025, allocations: 35.34 kB / 0.5726 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.025, allocations: 3.906 kB / 0.5726 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/1.025, allocations: 15 kB / 0.5726 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/1.025, allocations: 7.812 kB / 0.5726 GB, free: 100.3 MB / 410.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 6.736e-05/1.025, allocations: 112.6 kB / 0.5727 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/1.025, allocations: 15.7 kB / 0.5727 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/1.025, allocations: 137.8 kB / 0.5729 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.025, allocations: 0 / 0.5729 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.025, allocations: 0 / 0.5729 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.025, allocations: 3.984 kB / 0.5729 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/1.026, allocations: 400.3 kB / 0.5732 GB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.026, allocations: 3.953 kB / 0.5732 GB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/1.026, allocations: 19.61 kB / 0.5733 GB, free: 99.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.026, allocations: 3.812 kB / 0.5733 GB, free: 99.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/1.026, allocations: 7.922 kB / 0.5733 GB, free: 99.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.026, allocations: 3.938 kB / 0.5733 GB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.026, allocations: 0 / 0.5733 GB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/1.026, allocations: 200.8 kB / 0.5735 GB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/1.026, allocations: 108.3 kB / 0.5736 GB, free: 99.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/1.026, allocations: 3.75 kB / 0.5736 GB, free: 99.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/1.027, allocations: 4 kB / 0.5736 GB, free: 99.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/1.027, allocations: 15.02 kB / 0.5736 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/1.027, allocations: 3.938 kB / 0.5736 GB, free: 99.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.856e-05/1.027, allocations: 90.98 kB / 0.5737 GB, free: 99.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/1.027, allocations: 0 / 0.5737 GB, free: 99.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004703/1.027, allocations: 61.72 kB / 0.5737 GB, free: 99.39 MB / 410.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.0003186/1.028, allocations: 161.8 kB / 0.5739 GB, free: 99.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/1.028, allocations: 77.39 kB / 0.574 GB, free: 99.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.028, allocations: 4.312 kB / 0.574 GB, free: 99.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/1.028, allocations: 42.64 kB / 0.574 GB, free: 99.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/1.028, allocations: 42.42 kB / 0.5741 GB, free: 99.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/1.029, allocations: 133.8 kB / 0.5742 GB, free: 99.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/1.029, allocations: 0.7044 MB / 0.5749 GB, free: 98.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/1.029, allocations: 15.31 kB / 0.5749 GB, free: 98.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/1.029, allocations: 0 / 0.5749 GB, free: 98.41 MB / 410.7 MB Notification: Performance of Templates: time 0.005429/1.034, allocations: 2.271 MB / 0.5771 GB, free: 97.24 MB / 410.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