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.001045/0.001045, allocations: 84.17 kB / 16.31 MB, free: 6.449 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.001248/0.001249, allocations: 179.5 kB / 17.21 MB, free: 6.324 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.309/1.309, allocations: 223.3 MB / 241.2 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002482, allocations: 8 kB / 300.8 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08055/0.08081, allocations: 50.41 MB / 351.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004856/0.0857, allocations: 4.313 MB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.08643, allocations: 0.5846 MB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.08648, allocations: 0 / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.08664, allocations: 23.89 kB / 356.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000984/0.08763, allocations: 0.514 MB / 356.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.08784, allocations: 87 kB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.08806, allocations: 187.2 kB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.08811, allocations: 11.98 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.08921, allocations: 0.6631 MB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.0893, allocations: 55.77 kB / 357.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.08932, allocations: 4 kB / 357.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.09068, allocations: 0.9014 MB / 358.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.09074, allocations: 15.97 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.09078, allocations: 45.64 kB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.09104, allocations: 163.7 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09106, allocations: 0 / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09106, allocations: 0 / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.09107, allocations: 0 / 358.8 MB, free: 12.43 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.0003815/0.09146, allocations: 411 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.09149, allocations: 8.031 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.09186, allocations: 35.88 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.09203, allocations: 190.9 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.09205, allocations: 8 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.09207, allocations: 8 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.0923, allocations: 143.8 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.09232, allocations: 3.938 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.09234, allocations: 8 kB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.09235, allocations: 0 / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.09252, allocations: 107.9 kB / 359.7 MB, free: 11.43 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.0006269/0.09315, allocations: 0.6607 MB / 360.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.09329, allocations: 82.55 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.09336, allocations: 36.84 kB / 360.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/0.09391, allocations: 0.8154 MB / 361.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.09394, allocations: 30.56 kB / 361.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.09395, allocations: 4 kB / 361.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002562/0.09421, allocations: 129.8 kB / 361.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.09425, allocations: 59.34 kB / 361.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.09433, allocations: 114 kB / 361.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.09436, allocations: 29.7 kB / 361.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.09441, allocations: 107.8 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.09445, allocations: 43.3 kB / 361.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.09447, allocations: 4 kB / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.09456, allocations: 314.8 kB / 362.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.09461, allocations: 31.92 kB / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.09468, allocations: 71.47 kB / 362.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.09476, allocations: 32 kB / 362.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09476, allocations: 4 kB / 362.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001948/0.09496, allocations: 140.8 kB / 362.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.09498, allocations: 4 kB / 362.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.09499, allocations: 4 kB / 362.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.09501, allocations: 0 / 362.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.09514, allocations: 39.92 kB / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.09515, allocations: 0 / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.09521, allocations: 7.906 kB / 362.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.09524, allocations: 20.11 kB / 362.5 MB, free: 8.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/0.09532, allocations: 121.7 kB / 362.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.09536, allocations: 11.89 kB / 362.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.09564, allocations: 138.5 kB / 362.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.09565, allocations: 0 / 362.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.09566, allocations: 4 kB / 362.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.09567, allocations: 7.984 kB / 362.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.09607, allocations: 386.5 kB / 363.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.09609, allocations: 4 kB / 363.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.09617, allocations: 19.98 kB / 363.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.09618, allocations: 0 / 363.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.09619, allocations: 8 kB / 363.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.0962, allocations: 3.984 kB / 363.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.09621, allocations: 0 / 363.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.09638, allocations: 207.3 kB / 363.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.09646, allocations: 100.9 kB / 363.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.09648, allocations: 4 kB / 363.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.09658, allocations: 0 / 363.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.09661, allocations: 7.984 kB / 363.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.09663, allocations: 15.94 kB / 363.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.09668, allocations: 99.16 kB / 363.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09669, allocations: 0 / 363.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.09701, allocations: 59.98 kB / 363.6 MB, free: 7.039 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 (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.0002559/0.09727, allocations: 155.1 kB / 363.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.09743, allocations: 91.34 kB / 363.9 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09744, allocations: 0 / 363.9 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.0975, allocations: 39.92 kB / 363.9 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.09792, allocations: 47.86 kB / 364 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.09831, allocations: 306.6 kB / 364.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.09854, allocations: 0.6931 MB / 364.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000147/0.09869, allocations: 37 kB / 365 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.09874, allocations: 23.44 kB / 365 MB, free: 5.602 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09875, allocations: 0 / 365 MB, free: 5.602 MB / 302.1 MB Notification: Performance of Templates: time 0.004857/0.1036, allocations: 2.282 MB / 367.3 MB, free: 3.344 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