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.001025/0.001025, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001/0.001, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009262/0.0009262, allocations: 43.25 kB / 299.9 MB, free: 6.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07658/0.07752, allocations: 49.45 MB / 349.4 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006676/0.08424, allocations: 4.962 MB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000875/0.08514, allocations: 0.6543 MB / 355 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.08519, allocations: 0 / 355 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.08543, allocations: 15.91 kB / 355 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.08657, allocations: 0.5219 MB / 355.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.08681, allocations: 92.94 kB / 355.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.08709, allocations: 223.2 kB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.08715, allocations: 8 kB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.08882, allocations: 0.6975 MB / 356.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.08895, allocations: 51.83 kB / 356.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.089, allocations: 7.938 kB / 356.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.09132, allocations: 0.9554 MB / 357.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.0914, allocations: 15.92 kB / 357.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.09151, allocations: 51.78 kB / 357.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.09212, allocations: 239.5 kB / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09214, allocations: 0 / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09215, allocations: 0 / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.09217, allocations: 0 / 357.9 MB, free: 12.3 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.0007175/0.09289, allocations: 419.2 kB / 358.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.09295, allocations: 16.02 kB / 358.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007664/0.09373, allocations: 36.77 kB / 358.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.094, allocations: 192.3 kB / 358.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.09404, allocations: 4.375 kB / 358.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.09408, allocations: 15.94 kB / 358.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.09444, allocations: 137 kB / 358.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.09447, allocations: 0 / 358.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.0945, allocations: 0 / 358.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.09452, allocations: 4 kB / 358.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.09485, allocations: 107.9 kB / 358.8 MB, free: 11.29 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.001066/0.09593, allocations: 0.6684 MB / 359.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.09619, allocations: 90.48 kB / 359.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.09632, allocations: 36.84 kB / 359.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009602/0.0973, allocations: 0.8154 MB / 360.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.09735, allocations: 34.56 kB / 360.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.09736, allocations: 0 / 360.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004742/0.09785, allocations: 126 kB / 360.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.09792, allocations: 59.28 kB / 360.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.09806, allocations: 117.8 kB / 360.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.09811, allocations: 29.7 kB / 360.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.0982, allocations: 103.8 kB / 360.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.09826, allocations: 43.39 kB / 360.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.09836, allocations: 45.55 kB / 360.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.09857, allocations: 318.8 kB / 361.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.09867, allocations: 24 kB / 361.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.09882, allocations: 65.12 kB / 361.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.09909, allocations: 109.1 kB / 361.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.09911, allocations: 0 / 361.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003571/0.09948, allocations: 140.7 kB / 361.6 MB, free: 8.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.09952, allocations: 11.98 kB / 361.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.09953, allocations: 3.938 kB / 361.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.09956, allocations: 3.938 kB / 361.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.09977, allocations: 31.98 kB / 361.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.09979, allocations: 0 / 361.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.09992, allocations: 11.91 kB / 361.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.09997, allocations: 8 kB / 361.7 MB, free: 8.043 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 0.0001317/0.1001, allocations: 129.8 kB / 361.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.1002, allocations: 8.281 kB / 361.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.1007, allocations: 142 kB / 361.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1007, allocations: 0 / 361.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1007, allocations: 0 / 361.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1007, allocations: 7.938 kB / 361.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007346/0.1015, allocations: 394.4 kB / 362.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1015, allocations: 3.938 kB / 362.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1017, allocations: 23.92 kB / 362.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1017, allocations: 4 kB / 362.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1017, allocations: 0 / 362.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1017, allocations: 4 kB / 362.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1017, allocations: 0 / 362.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1021, allocations: 211.4 kB / 362.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1022, allocations: 96.94 kB / 362.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1023, allocations: 8 kB / 362.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1025, allocations: 4 kB / 362.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.1025, allocations: 7.984 kB / 362.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1025, allocations: 4 kB / 362.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1027, allocations: 91.27 kB / 362.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1027, allocations: 3.938 kB / 362.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005968/0.1033, allocations: 56 kB / 362.8 MB, free: 6.762 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.0004505/0.1037, allocations: 179 kB / 363 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.104, allocations: 87.66 kB / 363.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.104, allocations: 0 / 363.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1042, allocations: 39.92 kB / 363.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.1049, allocations: 48.2 kB / 363.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.1056, allocations: 257.3 kB / 363.4 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.106, allocations: 0.6933 MB / 364.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.1063, allocations: 32.73 kB / 364.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1064, allocations: 23.38 kB / 364.2 MB, free: 5.355 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1064, allocations: 4 kB / 364.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of Templates: time 0.007856/0.1143, allocations: 2.39 MB / 366.6 MB, free: 2.992 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