Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 68.05 kB / 306.3 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.09105, allocations: 50.54 MB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007489/0.09857, allocations: 5.04 MB / 361.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.09953, allocations: 0.6388 MB / 362.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.09958, allocations: 0 / 362.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.09983, allocations: 23.89 kB / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.101, allocations: 0.518 MB / 363.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1013, allocations: 91.06 kB / 363.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.1016, allocations: 223.2 kB / 363.4 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.1016, allocations: 4 kB / 363.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1029, allocations: 0.7092 MB / 364.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.103, allocations: 51.77 kB / 364.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.103, allocations: 0 / 364.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1047, allocations: 0.9867 MB / 365.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.1047, allocations: 19.91 kB / 365.1 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.1048, allocations: 39.8 kB / 365.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.1053, allocations: 251.5 kB / 365.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1053, allocations: 0 / 365.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1053, allocations: 0 / 365.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1053, allocations: 7.938 kB / 365.4 MB, free: 5.855 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.0005529/0.1059, allocations: 427.2 kB / 365.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1059, allocations: 8.031 kB / 365.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/0.1063, allocations: 40.81 kB / 365.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1065, allocations: 188.3 kB / 366.1 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1066, allocations: 4.375 kB / 366.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1066, allocations: 11.94 kB / 366.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1069, allocations: 143.4 kB / 366.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1069, allocations: 0 / 366.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1069, allocations: 4 kB / 366.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1069, allocations: 0 / 366.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.1071, allocations: 119.8 kB / 366.4 MB, free: 4.828 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.0008036/0.1079, allocations: 0.6644 MB / 367 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1081, allocations: 82.55 kB / 367.1 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.1082, allocations: 40.84 kB / 367.1 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/0.1089, allocations: 0.8037 MB / 368 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.109, allocations: 34.56 kB / 368 MB, free: 2.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.109, allocations: 0 / 368 MB, free: 2.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003163/0.1093, allocations: 137.9 kB / 368.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1094, allocations: 55.34 kB / 368.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1095, allocations: 117.8 kB / 368.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1095, allocations: 26.08 kB / 368.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.1096, allocations: 107.8 kB / 368.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.1096, allocations: 47.38 kB / 368.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.1097, allocations: 37.62 kB / 368.5 MB, free: 2.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1099, allocations: 326.8 kB / 368.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.1099, allocations: 27.98 kB / 368.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.11, allocations: 64.11 kB / 368.9 MB, free: 1.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1102, allocations: 109 kB / 369 MB, free: 1.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1102, allocations: 4 kB / 369 MB, free: 1.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000234/0.1104, allocations: 140.9 kB / 369.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1105, allocations: 4 kB / 369.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1105, allocations: 4.156 kB / 369.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1105, allocations: 7.938 kB / 369.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1106, allocations: 31.98 kB / 369.2 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1106, allocations: 3.938 kB / 369.2 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.1107, allocations: 11.91 kB / 369.2 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1107, allocations: 8 kB / 369.2 MB, free: 1.59 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 0.0001039/0.1108, allocations: 125.8 kB / 369.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1109, allocations: 7.906 kB / 369.4 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.1112, allocations: 146 kB / 369.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1112, allocations: 0 / 369.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1112, allocations: 4 kB / 369.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1112, allocations: 0 / 369.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.1117, allocations: 390.4 kB / 369.9 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1118, allocations: 0 / 369.9 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.1118, allocations: 23.94 kB / 369.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1119, allocations: 7.984 kB / 369.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1119, allocations: 4 kB / 369.9 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1119, allocations: 0 / 369.9 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1119, allocations: 0 / 369.9 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1121, allocations: 207.4 kB / 370.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.1122, allocations: 96.94 kB / 370.2 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1122, allocations: 3.938 kB / 370.2 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1124, allocations: 11.98 kB / 370.2 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.1124, allocations: 11.94 kB / 370.2 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1124, allocations: 7.984 kB / 370.3 MB, free: 468 kB / 302.1 MB Notification: Performance of sorting global known variables: time 5.918e-05/0.1125, allocations: 87.28 kB / 370.3 MB, free: 380 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1125, allocations: 0 / 370.3 MB, free: 380 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.1128, allocations: 59.98 kB / 370.4 MB, free: 320 kB / 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.0003279/0.1132, allocations: 179.3 kB / 370.6 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1134, allocations: 83.53 kB / 370.7 MB, free: 48 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1134, allocations: 0 / 370.7 MB, free: 48 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.1134, allocations: 43.92 kB / 370.7 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1264/0.2399, allocations: 35.64 kB / 370.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.2403, allocations: 261.4 kB / 371 MB, free: 20.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2405, allocations: 0.6931 MB / 371.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.2406, allocations: 30.09 kB / 371.7 MB, free: 20.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.2407, allocations: 23.89 kB / 371.7 MB, free: 20.27 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2407, allocations: 0 / 371.7 MB, free: 20.27 MB / 302.1 MB Notification: Performance of Templates: time 0.00615/0.2469, allocations: 2.486 MB / 374.2 MB, free: 20.14 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches