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.001072/0.001072, allocations: 115.5 kB / 17.69 MB, free: 5.438 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.001053/0.001053, allocations: 192 kB / 18.63 MB, free: 4.504 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.306/1.306, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000964/0.000964, allocations: 51.31 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07792/0.07889, allocations: 49.44 MB / 351.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006084/0.08502, allocations: 4.842 MB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.0858, allocations: 0.627 MB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.08585, allocations: 3.938 kB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.08604, allocations: 27.83 kB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.08721, allocations: 0.5839 MB / 357.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.08744, allocations: 90.61 kB / 357.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.08765, allocations: 179.2 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.08769, allocations: 8 kB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009226/0.08862, allocations: 0.6197 MB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.08871, allocations: 43.84 kB / 358.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.08873, allocations: 4 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.08991, allocations: 0.854 MB / 359.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.08997, allocations: 19.97 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.09003, allocations: 47.73 kB / 359.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.09039, allocations: 231.5 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.0904, allocations: 4 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09041, allocations: 0 / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09042, allocations: 0 / 359.7 MB, free: 11.51 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.0004397/0.09086, allocations: 423.1 kB / 360.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.0909, allocations: 12.03 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.09132, allocations: 40.81 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.09152, allocations: 192.2 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.09155, allocations: 4.375 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.09157, allocations: 11.94 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.09179, allocations: 133.1 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.0918, allocations: 0 / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.09183, allocations: 8 kB / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.09184, allocations: 3.938 kB / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.09201, allocations: 111.8 kB / 360.6 MB, free: 10.49 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.0006496/0.09266, allocations: 0.6643 MB / 361.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.09281, allocations: 90.55 kB / 361.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.09287, allocations: 36.84 kB / 361.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.09344, allocations: 0.8076 MB / 362.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.09347, allocations: 30.56 kB / 362.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.09348, allocations: 0 / 362.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002532/0.09374, allocations: 137.3 kB / 362.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.09379, allocations: 63.34 kB / 362.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.09387, allocations: 113.8 kB / 362.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.09389, allocations: 25.7 kB / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.09395, allocations: 107.8 kB / 362.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.09399, allocations: 39.39 kB / 362.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.09404, allocations: 37.62 kB / 362.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.09414, allocations: 322.8 kB / 363 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.0942, allocations: 23.98 kB / 363.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.09428, allocations: 73.08 kB / 363.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.09441, allocations: 101.1 kB / 363.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.09442, allocations: 0 / 363.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002066/0.09463, allocations: 145.4 kB / 363.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.09465, allocations: 4 kB / 363.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.09466, allocations: 0 / 363.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.09468, allocations: 7.938 kB / 363.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.0948, allocations: 35.92 kB / 363.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.09481, allocations: 7.938 kB / 363.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.09488, allocations: 16.06 kB / 363.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.0949, allocations: 8 kB / 363.5 MB, free: 7.246 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 9.851e-05/0.095, allocations: 125.8 kB / 363.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.09505, allocations: 8.281 kB / 363.6 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.09532, allocations: 145.5 kB / 363.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.09534, allocations: 4 kB / 363.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.09534, allocations: 0 / 363.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.09535, allocations: 4 kB / 363.7 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.09577, allocations: 398.3 kB / 364.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09579, allocations: 7.938 kB / 364.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.09587, allocations: 20 kB / 364.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.09588, allocations: 0 / 364.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.0959, allocations: 7.984 kB / 364.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0959, allocations: 0 / 364.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.09591, allocations: 0 / 364.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.0961, allocations: 211.3 kB / 364.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.09617, allocations: 93 kB / 364.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.0962, allocations: 0 / 364.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.0963, allocations: 4 kB / 364.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.09632, allocations: 11.98 kB / 364.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.09634, allocations: 7.984 kB / 364.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.028e-05/0.0964, allocations: 87.28 kB / 364.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0964, allocations: 0 / 364.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000306/0.09671, allocations: 63.98 kB / 364.6 MB, free: 5.969 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.0002242/0.09695, allocations: 171.5 kB / 364.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.09712, allocations: 87.97 kB / 364.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.09713, allocations: 0 / 364.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.09718, allocations: 35.98 kB / 364.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.09777, allocations: 51.77 kB / 365 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.09829, allocations: 239.6 kB / 365.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.09853, allocations: 0.6928 MB / 365.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.09865, allocations: 32.8 kB / 365.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.09869, allocations: 15.44 kB / 365.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.0987, allocations: 0 / 365.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of Templates: time 0.004945/0.1036, allocations: 2.38 MB / 368.3 MB, free: 2.242 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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