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.001297/0.001297, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007817/0.0007817, allocations: 102.5 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.124e-05, allocations: 0 / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 51.47 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4065/0.5164, allocations: 187.2 MB / 0.5687 GB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.5167, allocations: 72.95 kB / 0.5688 GB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.264/0.7807, allocations: 22.74 MB / 0.591 GB, free: 136.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7808, allocations: 0 / 0.591 GB, free: 136.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.7808, allocations: 7.156 kB / 0.591 GB, free: 136.2 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.0004482/0.7812, allocations: 442 kB / 0.5914 GB, free: 135.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7813, allocations: 9.281 kB / 0.5914 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.7816, allocations: 37.17 kB / 0.5915 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.7818, allocations: 191.7 kB / 0.5917 GB, free: 135.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.7818, allocations: 2.719 kB / 0.5917 GB, free: 135.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7819, allocations: 8.812 kB / 0.5917 GB, free: 135.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001712/0.782, allocations: 98.69 kB / 0.5918 GB, free: 135.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.7822, allocations: 123.5 kB / 0.5919 GB, free: 135.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.7822, allocations: 0 / 0.5919 GB, free: 135.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.7822, allocations: 4 kB / 0.5919 GB, free: 135.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7822, allocations: 3.062 kB / 0.5919 GB, free: 135.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.7827, allocations: 0.5896 MB / 0.5925 GB, free: 135 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.7828, allocations: 73.44 kB / 0.5925 GB, free: 135 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.7829, allocations: 39.8 kB / 0.5926 GB, free: 135 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.7833, allocations: 0.8029 MB / 0.5934 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.7833, allocations: 36.91 kB / 0.5934 GB, free: 134 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.7833, allocations: 3.938 kB / 0.5934 GB, free: 134 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006378/0.784, allocations: 134.8 kB / 0.5935 GB, free: 134 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.784, allocations: 58.34 kB / 0.5936 GB, free: 133.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.7841, allocations: 108.5 kB / 0.5937 GB, free: 133.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.7841, allocations: 28.7 kB / 0.5937 GB, free: 133.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.7841, allocations: 98.38 kB / 0.5938 GB, free: 133.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.7842, allocations: 42.38 kB / 0.5939 GB, free: 133.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.7842, allocations: 0 / 0.5939 GB, free: 133.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.7842, allocations: 324.6 kB / 0.5942 GB, free: 133.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.7843, allocations: 18.59 kB / 0.5942 GB, free: 133.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.7843, allocations: 66.27 kB / 0.5942 GB, free: 133.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.7847, allocations: 75.28 kB / 0.5943 GB, free: 133.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7848, allocations: 0 / 0.5943 GB, free: 133.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005196/0.7853, allocations: 159.6 kB / 0.5945 GB, free: 133.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7853, allocations: 11.72 kB / 0.5945 GB, free: 133.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7853, allocations: 0 / 0.5945 GB, free: 133.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7853, allocations: 3 kB / 0.5945 GB, free: 133.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.7855, allocations: 31.95 kB / 0.5945 GB, free: 133.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7855, allocations: 2.812 kB / 0.5945 GB, free: 133.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.7855, allocations: 10.84 kB / 0.5945 GB, free: 133.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.7856, allocations: 11.88 kB / 0.5945 GB, free: 133.2 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 5.112e-05/0.7856, allocations: 110.8 kB / 0.5946 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.7856, allocations: 10.06 kB / 0.5946 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.7862, allocations: 175.6 kB / 0.5948 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7862, allocations: 0 / 0.5948 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7863, allocations: 3.219 kB / 0.5948 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7863, allocations: 0 / 0.5948 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.7869, allocations: 390.1 kB / 0.5952 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7869, allocations: 4.625 kB / 0.5952 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.787, allocations: 25.59 kB / 0.5952 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.787, allocations: 0 / 0.5952 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.787, allocations: 3.25 kB / 0.5952 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.787, allocations: 0 / 0.5952 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.787, allocations: 3.938 kB / 0.5952 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.7875, allocations: 237.2 kB / 0.5955 GB, free: 132.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.7875, allocations: 105.7 kB / 0.5956 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.7876, allocations: 4 kB / 0.5956 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.7877, allocations: 3.562 kB / 0.5956 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.7877, allocations: 9.5 kB / 0.5956 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.7877, allocations: 2.906 kB / 0.5956 GB, free: 132.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.7877, allocations: 92.27 kB / 0.5957 GB, free: 132.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.7878, allocations: 0 / 0.5957 GB, free: 132.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.7881, allocations: 64.11 kB / 0.5957 GB, free: 132.4 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.0002429/0.7884, allocations: 165 kB / 0.5959 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.7885, allocations: 71.39 kB / 0.5959 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7885, allocations: 0 / 0.5959 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.7886, allocations: 38.55 kB / 0.596 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.7889, allocations: 48 kB / 0.596 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.7891, allocations: 100.5 kB / 0.5961 GB, free: 132.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.7893, allocations: 0.7038 MB / 0.5968 GB, free: 131.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.7895, allocations: 29.69 kB / 0.5968 GB, free: 131.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.7895, allocations: 24.47 kB / 0.5969 GB, free: 131.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7895, allocations: 0 / 0.5969 GB, free: 131.5 MB / 442.7 MB Notification: Performance of Templates: time 0.004371/0.7939, allocations: 2.209 MB / 0.599 GB, free: 131.2 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