Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001056, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009251/0.0009251, allocations: 84.05 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.17e-05, allocations: 0 / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6968/0.8025, allocations: 187.9 MB / 0.5761 GB, free: 137.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.8029, allocations: 73.95 kB / 0.5762 GB, free: 137.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05407/0.8569, allocations: 22.89 MB / 0.5985 GB, free: 136 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.857, allocations: 0 / 0.5985 GB, free: 136 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.857, allocations: 3.406 kB / 0.5985 GB, free: 136 MB / 442.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.0004986/0.8575, allocations: 443.1 kB / 0.5989 GB, free: 135.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8576, allocations: 13.53 kB / 0.599 GB, free: 135.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.858, allocations: 30.89 kB / 0.599 GB, free: 135.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.8582, allocations: 195.6 kB / 0.5992 GB, free: 135.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.8582, allocations: 6.906 kB / 0.5992 GB, free: 135.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.8582, allocations: 10.5 kB / 0.5992 GB, free: 135.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.8584, allocations: 126.7 kB / 0.5993 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.8584, allocations: 4 kB / 0.5993 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.8585, allocations: 3.422 kB / 0.5993 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.8585, allocations: 4.5 kB / 0.5993 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.8586, allocations: 112.1 kB / 0.5994 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.8592, allocations: 0.6166 MB / 0.6 GB, free: 134.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.8593, allocations: 83 kB / 0.6001 GB, free: 134.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.8594, allocations: 38.92 kB / 0.6001 GB, free: 134.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.8598, allocations: 0.8105 MB / 0.6009 GB, free: 133.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.8598, allocations: 41.72 kB / 0.601 GB, free: 133.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.8598, allocations: 0 / 0.601 GB, free: 133.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002057/0.86, allocations: 102.8 kB / 0.6011 GB, free: 133.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.8601, allocations: 55.41 kB / 0.6011 GB, free: 133.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.8601, allocations: 109.5 kB / 0.6012 GB, free: 133.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8602, allocations: 29.45 kB / 0.6013 GB, free: 133.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.8602, allocations: 95.14 kB / 0.6013 GB, free: 133.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.8602, allocations: 49.95 kB / 0.6014 GB, free: 133.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.8602, allocations: 3.625 kB / 0.6014 GB, free: 133.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.8603, allocations: 321.2 kB / 0.6017 GB, free: 133.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.8603, allocations: 23.09 kB / 0.6017 GB, free: 133.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.8604, allocations: 70.84 kB / 0.6018 GB, free: 133.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.8605, allocations: 30.56 kB / 0.6018 GB, free: 133.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8605, allocations: 0 / 0.6018 GB, free: 133.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001662/0.8606, allocations: 147.3 kB / 0.602 GB, free: 133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.8607, allocations: 4.906 kB / 0.602 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.8607, allocations: 3.312 kB / 0.602 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8607, allocations: 0 / 0.602 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.8608, allocations: 34.69 kB / 0.602 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.8608, allocations: 3.094 kB / 0.602 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.8609, allocations: 18.19 kB / 0.602 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.8609, allocations: 13.5 kB / 0.602 GB, free: 133 MB / 442.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 4.814e-05/0.861, allocations: 112.7 kB / 0.6021 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.861, allocations: 14.11 kB / 0.6022 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.8613, allocations: 132.1 kB / 0.6023 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8613, allocations: 3.344 kB / 0.6023 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8613, allocations: 0 / 0.6023 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8613, allocations: 4 kB / 0.6023 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.8616, allocations: 400.6 kB / 0.6027 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8616, allocations: 0 / 0.6027 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.8617, allocations: 22.8 kB / 0.6027 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8617, allocations: 2.344 kB / 0.6027 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.8617, allocations: 10.86 kB / 0.6027 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8617, allocations: 0 / 0.6027 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8618, allocations: 0 / 0.6027 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.8619, allocations: 202 kB / 0.6029 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.862, allocations: 107 kB / 0.603 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.862, allocations: 0 / 0.603 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.8621, allocations: 7.031 kB / 0.603 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.8621, allocations: 7.047 kB / 0.603 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.8621, allocations: 6.156 kB / 0.603 GB, free: 132.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.8622, allocations: 89.14 kB / 0.6031 GB, free: 132.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8622, allocations: 3 kB / 0.6031 GB, free: 132.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000303/0.8625, allocations: 68.19 kB / 0.6032 GB, free: 132.2 MB / 442.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.0002431/0.8627, allocations: 167.9 kB / 0.6033 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.8629, allocations: 90.28 kB / 0.6034 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8629, allocations: 0 / 0.6034 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.863, allocations: 40.81 kB / 0.6035 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.8633, allocations: 38.22 kB / 0.6035 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.8635, allocations: 112.2 kB / 0.6036 GB, free: 132 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.8637, allocations: 0.6963 MB / 0.6043 GB, free: 131.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.8638, allocations: 36.05 kB / 0.6043 GB, free: 131.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.8639, allocations: 24.03 kB / 0.6043 GB, free: 131.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.8639, allocations: 0 / 0.6043 GB, free: 131.3 MB / 442.7 MB Notification: Performance of Templates: time 0.00453/0.8684, allocations: 2.265 MB / 0.6066 GB, free: 131 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches