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.001277/0.001277, allocations: 115 kB / 17.69 MB, free: 5.309 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.001277/0.001277, allocations: 192 kB / 18.63 MB, free: 4.375 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009883/0.0009885, allocations: 47.14 kB / 302.1 MB, free: 5.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.0853, allocations: 49.44 MB / 351.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006428/0.09177, allocations: 4.842 MB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008111/0.09261, allocations: 0.6231 MB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.09267, allocations: 4 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.09289, allocations: 27.77 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.09413, allocations: 0.5761 MB / 357.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.09437, allocations: 99.05 kB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.0946, allocations: 179.3 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.09465, allocations: 11.97 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009479/0.09561, allocations: 0.6119 MB / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.0957, allocations: 47.77 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.09572, allocations: 4 kB / 358.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.09695, allocations: 0.8579 MB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.09701, allocations: 19.91 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.09708, allocations: 47.8 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.09746, allocations: 227.5 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.09748, allocations: 3.984 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09748, allocations: 0 / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.0975, allocations: 4 kB / 359.7 MB, free: 11.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.0004564/0.09796, allocations: 419.1 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.098, allocations: 8.031 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.09845, allocations: 44.81 kB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.09877, allocations: 192.2 kB / 360.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.09879, allocations: 4.375 kB / 360.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.09882, allocations: 15.88 kB / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.09909, allocations: 137 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.09911, allocations: 4 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.09914, allocations: 0 / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.09915, allocations: 8 kB / 360.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.09935, allocations: 115.8 kB / 360.6 MB, free: 10.39 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.0007832/0.1001, allocations: 0.6604 MB / 361.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1003, allocations: 90.48 kB / 361.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.1004, allocations: 40.84 kB / 361.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.101, allocations: 0.7998 MB / 362.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1011, allocations: 30.56 kB / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1011, allocations: 0 / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002934/0.1014, allocations: 134 kB / 362.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1014, allocations: 63.22 kB / 362.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.1015, allocations: 117.8 kB / 362.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1015, allocations: 29.7 kB / 362.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1016, allocations: 103.8 kB / 362.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1017, allocations: 47.38 kB / 362.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.1017, allocations: 41.61 kB / 362.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.1018, allocations: 314.8 kB / 363 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.1019, allocations: 27.98 kB / 363.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.102, allocations: 71.78 kB / 363.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1021, allocations: 108.7 kB / 363.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1021, allocations: 4 kB / 363.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002023/0.1023, allocations: 133.5 kB / 363.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1023, allocations: 4 kB / 363.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1024, allocations: 4 kB / 363.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1024, allocations: 3.938 kB / 363.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1025, allocations: 35.92 kB / 363.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1025, allocations: 4.359 kB / 363.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.1026, allocations: 11.91 kB / 363.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1026, allocations: 12.16 kB / 363.5 MB, free: 7.16 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.129e-05/0.1027, allocations: 125.7 kB / 363.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1027, allocations: 11.84 kB / 363.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.103, allocations: 130.1 kB / 363.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.103, allocations: 7.938 kB / 363.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.103, allocations: 0 / 363.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1031, allocations: 0 / 363.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.1035, allocations: 402.3 kB / 364.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1035, allocations: 3.984 kB / 364.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.1036, allocations: 23.98 kB / 364.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1036, allocations: 7.938 kB / 364.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1036, allocations: 0 / 364.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1036, allocations: 0 / 364.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1036, allocations: 0 / 364.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1038, allocations: 214.9 kB / 364.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.1039, allocations: 100.9 kB / 364.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1039, allocations: 4 kB / 364.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.104, allocations: 4 kB / 364.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.104, allocations: 7.984 kB / 364.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1041, allocations: 4 kB / 364.5 MB, free: 6.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.1041, allocations: 91.27 kB / 364.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1041, allocations: 0 / 364.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.1045, allocations: 56 kB / 364.6 MB, free: 5.887 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.000241/0.1047, allocations: 171.5 kB / 364.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1049, allocations: 84.16 kB / 364.9 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1049, allocations: 4.062 kB / 364.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.105, allocations: 43.91 kB / 364.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1054, allocations: 43.16 kB / 365 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.1058, allocations: 243.5 kB / 365.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1061, allocations: 0.6889 MB / 365.9 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1062, allocations: 40.78 kB / 365.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.1062, allocations: 19.42 kB / 366 MB, free: 4.504 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1062, allocations: 0 / 366 MB, free: 4.504 MB / 302.1 MB Notification: Performance of Templates: time 0.005624/0.1119, allocations: 2.373 MB / 368.3 MB, free: 2.156 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 gbode -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