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.001505/0.001505, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.00121/0.00121, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 46.48 kB / 300.6 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.09072, allocations: 49.45 MB / 350.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006918/0.09767, allocations: 4.962 MB / 355 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.09863, allocations: 0.6505 MB / 355.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.09872, allocations: 3.938 kB / 355.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.09898, allocations: 27.89 kB / 355.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.1004, allocations: 0.5101 MB / 356.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1006, allocations: 103.4 kB / 356.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1009, allocations: 211.2 kB / 356.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.101, allocations: 7.984 kB / 356.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.1021, allocations: 0.7053 MB / 357.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.993e-05/0.1023, allocations: 55.77 kB / 357.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1023, allocations: 4 kB / 357.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1038, allocations: 0.9554 MB / 358.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1039, allocations: 19.91 kB / 358.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.104, allocations: 43.86 kB / 358.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1043, allocations: 171.6 kB / 358.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1043, allocations: 0 / 358.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1043, allocations: 0 / 358.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1043, allocations: 0 / 358.5 MB, free: 12.17 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.0005146/0.1049, allocations: 423.2 kB / 358.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1049, allocations: 11.97 kB / 358.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.1053, allocations: 40.81 kB / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1055, allocations: 184.3 kB / 359.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1055, allocations: 8.375 kB / 359.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1055, allocations: 15.94 kB / 359.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1058, allocations: 135.8 kB / 359.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1058, allocations: 0 / 359.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1058, allocations: 4 kB / 359.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1058, allocations: 8 kB / 359.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.106, allocations: 115.8 kB / 359.4 MB, free: 11.14 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.0007016/0.1067, allocations: 0.6566 MB / 360.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1069, allocations: 90.48 kB / 360.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1069, allocations: 37.09 kB / 360.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/0.1075, allocations: 0.8115 MB / 361 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1076, allocations: 38.5 kB / 361 MB, free: 9.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1076, allocations: 0 / 361 MB, free: 9.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002761/0.1078, allocations: 125.7 kB / 361.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1079, allocations: 67.33 kB / 361.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.108, allocations: 109.8 kB / 361.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.108, allocations: 29.7 kB / 361.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1081, allocations: 103.8 kB / 361.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1081, allocations: 47.39 kB / 361.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.1082, allocations: 41.61 kB / 361.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.1083, allocations: 314.8 kB / 361.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.1083, allocations: 27.98 kB / 361.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.1084, allocations: 69.14 kB / 361.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1085, allocations: 105.1 kB / 362 MB, free: 8.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1086, allocations: 7.938 kB / 362.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002085/0.1088, allocations: 139.7 kB / 362.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1088, allocations: 6.656 kB / 362.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1088, allocations: 4 kB / 362.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1088, allocations: 3.938 kB / 362.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1089, allocations: 31.98 kB / 362.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.109, allocations: 0 / 362.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.109, allocations: 16 kB / 362.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.109, allocations: 12 kB / 362.3 MB, free: 7.902 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.532e-05/0.1091, allocations: 125.7 kB / 362.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.1092, allocations: 7.906 kB / 362.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1095, allocations: 146.3 kB / 362.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1095, allocations: 0 / 362.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1095, allocations: 4 kB / 362.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1095, allocations: 0 / 362.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.1099, allocations: 390.4 kB / 362.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1099, allocations: 0 / 362.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.11, allocations: 19.94 kB / 362.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.11, allocations: 0 / 362.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.11, allocations: 15.98 kB / 363 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1101, allocations: 0 / 363 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1101, allocations: 0 / 363 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1103, allocations: 211.2 kB / 363.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.1103, allocations: 100.9 kB / 363.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1104, allocations: 4 kB / 363.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.1105, allocations: 7.938 kB / 363.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.1105, allocations: 11.98 kB / 363.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1105, allocations: 7.984 kB / 363.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.1106, allocations: 87.28 kB / 363.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.1106, allocations: 4 kB / 363.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.1109, allocations: 59.92 kB / 363.4 MB, free: 6.621 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.0003073/0.1113, allocations: 167.1 kB / 363.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1114, allocations: 79.84 kB / 363.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1114, allocations: 0 / 363.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.1115, allocations: 43.92 kB / 363.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.112, allocations: 44.2 kB / 363.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.1124, allocations: 287 kB / 364 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1127, allocations: 0.6931 MB / 364.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.1128, allocations: 23.42 kB / 364.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1128, allocations: 0 / 364.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of Templates: time 0.004017/0.1168, allocations: 2.19 MB / 367 MB, free: 3.047 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