Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 114.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009595/0.0009595, allocations: 52.61 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07987/0.08084, allocations: 49.45 MB / 349.6 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00621/0.08709, allocations: 4.895 MB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.08795, allocations: 0.631 MB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.088, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.08824, allocations: 19.91 kB / 355.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.08941, allocations: 0.5336 MB / 355.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.08965, allocations: 95.19 kB / 355.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.08987, allocations: 175.3 kB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.08991, allocations: 4 kB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.09096, allocations: 0.7132 MB / 356.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.09105, allocations: 55.77 kB / 356.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.09108, allocations: 4 kB / 356.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.09241, allocations: 0.9672 MB / 357.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.09248, allocations: 31.78 kB / 357.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.09255, allocations: 43.86 kB / 357.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.09292, allocations: 239.5 kB / 358 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.09293, allocations: 0 / 358 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09294, allocations: 0 / 358 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.09295, allocations: 0 / 358 MB, free: 12.11 MB / 302.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.0004641/0.09342, allocations: 427.2 kB / 358.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.09346, allocations: 12.03 kB / 358.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.09387, allocations: 28.83 kB / 358.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.09405, allocations: 200.2 kB / 358.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.09407, allocations: 8.375 kB / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.09409, allocations: 11.92 kB / 358.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.09433, allocations: 139.9 kB / 358.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.09434, allocations: 0 / 358.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.09437, allocations: 12 kB / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09438, allocations: 0 / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.09455, allocations: 103.9 kB / 358.9 MB, free: 11.08 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.09523, allocations: 0.6643 MB / 359.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.09538, allocations: 90.48 kB / 359.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.09545, allocations: 40.84 kB / 359.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.09605, allocations: 0.8037 MB / 360.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.09609, allocations: 38.56 kB / 360.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.09609, allocations: 0 / 360.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002781/0.09638, allocations: 122 kB / 360.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.09642, allocations: 63.34 kB / 360.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.09651, allocations: 125.7 kB / 360.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.09654, allocations: 25.7 kB / 360.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.09659, allocations: 103.8 kB / 360.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.09663, allocations: 43.39 kB / 361 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.09669, allocations: 37.61 kB / 361 MB, free: 8.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.09679, allocations: 322.8 kB / 361.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.09684, allocations: 23.98 kB / 361.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.09692, allocations: 65.14 kB / 361.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.09706, allocations: 109.1 kB / 361.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09707, allocations: 0 / 361.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002009/0.09728, allocations: 140.7 kB / 361.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.0973, allocations: 8 kB / 361.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.09731, allocations: 0 / 361.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.09733, allocations: 7.938 kB / 361.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.09746, allocations: 35.92 kB / 361.7 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.09747, allocations: 8.094 kB / 361.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.09754, allocations: 11.91 kB / 361.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.09756, allocations: 8 kB / 361.8 MB, free: 7.84 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.09765, allocations: 121.7 kB / 361.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.09769, allocations: 11.91 kB / 361.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.09798, allocations: 146.4 kB / 362 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.09799, allocations: 8 kB / 362 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.098, allocations: 0 / 362 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.09801, allocations: 3.984 kB / 362 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.09843, allocations: 390.3 kB / 362.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.09844, allocations: 0 / 362.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.09853, allocations: 23.98 kB / 362.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.09854, allocations: 0 / 362.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.09855, allocations: 7.938 kB / 362.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.09856, allocations: 4 kB / 362.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.09857, allocations: 0 / 362.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.09876, allocations: 207.4 kB / 362.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.09883, allocations: 100.9 kB / 362.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.09885, allocations: 0 / 362.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.09896, allocations: 4 kB / 362.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.09899, allocations: 7.984 kB / 362.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.09901, allocations: 12 kB / 362.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.09906, allocations: 91.2 kB / 362.9 MB, free: 6.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09907, allocations: 4 kB / 362.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.0994, allocations: 56 kB / 362.9 MB, free: 6.559 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002848/0.09969, allocations: 170.9 kB / 363.1 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.09987, allocations: 87.03 kB / 363.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.09989, allocations: 0 / 363.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.09996, allocations: 40.23 kB / 363.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1004, allocations: 51.83 kB / 363.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.1008, allocations: 271.5 kB / 363.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1011, allocations: 0.6928 MB / 364.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.1012, allocations: 41 kB / 364.3 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.1013, allocations: 23.42 kB / 364.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1013, allocations: 0 / 364.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of Templates: time 0.005238/0.1065, allocations: 2.453 MB / 366.7 MB, free: 2.711 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches