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.001357/0.001357, allocations: 101.3 kB / 17.59 MB, free: 5.426 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.001158/0.001158, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 44.27 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08873, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007046/0.09582, allocations: 4.848 MB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.09672, allocations: 0.6192 MB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.09681, allocations: 0 / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.09708, allocations: 27.78 kB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.09863, allocations: 0.5761 MB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.09889, allocations: 103.4 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.09913, allocations: 175.3 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.09918, allocations: 8 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1002, allocations: 0.6119 MB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1003, allocations: 55.77 kB / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1004, allocations: 4 kB / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.1017, allocations: 0.8504 MB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.1018, allocations: 27.91 kB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.1019, allocations: 43.8 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.1023, allocations: 235.5 kB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1023, allocations: 0 / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1023, allocations: 4 kB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1024, allocations: 11.92 kB / 358.9 MB, free: 12.2 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.0005089/0.1029, allocations: 423.1 kB / 359.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1029, allocations: 8.031 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.1033, allocations: 32.81 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1035, allocations: 192.3 kB / 359.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1035, allocations: 8.375 kB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1036, allocations: 7.938 kB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.1038, allocations: 141 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1038, allocations: 0 / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.1039, allocations: 8 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1039, allocations: 0 / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.104, allocations: 107.8 kB / 359.8 MB, free: 11.19 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.0007209/0.1048, allocations: 0.6643 MB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1049, allocations: 98.47 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.105, allocations: 40.84 kB / 360.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/0.1056, allocations: 0.8037 MB / 361.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1057, allocations: 42.56 kB / 361.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1057, allocations: 0 / 361.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002941/0.106, allocations: 125.7 kB / 361.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.106, allocations: 59.34 kB / 361.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.1061, allocations: 117.8 kB / 361.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1062, allocations: 25.7 kB / 361.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.1062, allocations: 107.8 kB / 361.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1063, allocations: 47.39 kB / 361.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.1063, allocations: 37.61 kB / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.1064, allocations: 318.8 kB / 362.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.1065, allocations: 23.98 kB / 362.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1066, allocations: 69.12 kB / 362.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1067, allocations: 113.3 kB / 362.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1067, allocations: 0 / 362.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002111/0.1069, allocations: 132.8 kB / 362.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.107, allocations: 12.16 kB / 362.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.107, allocations: 0 / 362.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.107, allocations: 7.938 kB / 362.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1071, allocations: 35.92 kB / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1071, allocations: 4 kB / 362.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.1072, allocations: 11.89 kB / 362.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1072, allocations: 8 kB / 362.7 MB, free: 7.938 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.016e-05/0.1073, allocations: 125.7 kB / 362.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.1074, allocations: 7.906 kB / 362.8 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.1077, allocations: 146.3 kB / 363 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1077, allocations: 4 kB / 363 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1077, allocations: 0 / 363 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1077, allocations: 0 / 363 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.1081, allocations: 390.3 kB / 363.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1082, allocations: 0 / 363.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.1082, allocations: 31.92 kB / 363.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1083, allocations: 0 / 363.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1083, allocations: 4 kB / 363.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1083, allocations: 8 kB / 363.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1083, allocations: 0 / 363.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1085, allocations: 203.4 kB / 363.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.1086, allocations: 101 kB / 363.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1086, allocations: 4 kB / 363.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.1087, allocations: 4 kB / 363.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.1087, allocations: 7.984 kB / 363.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.1088, allocations: 12 kB / 363.7 MB, free: 6.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.1088, allocations: 95.2 kB / 363.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1088, allocations: 3.938 kB / 363.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1092, allocations: 52 kB / 363.9 MB, free: 6.656 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.0003011/0.1095, allocations: 175.5 kB / 364 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1097, allocations: 87.16 kB / 364.1 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1097, allocations: 3.938 kB / 364.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.1097, allocations: 35.98 kB / 364.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.1102, allocations: 44.2 kB / 364.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1107, allocations: 269.2 kB / 364.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.111, allocations: 0.7006 MB / 365.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.111, allocations: 19.44 kB / 365.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.111, allocations: 0 / 365.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of Templates: time 0.004188/0.1152, allocations: 2.193 MB / 367.4 MB, free: 3.086 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/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