Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.4 MB, free: 8.82 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 69.39 kB / 307.4 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.1004, allocations: 50.55 MB / 357.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007069/0.1075, allocations: 4.951 MB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.1084, allocations: 0.6271 MB / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.1084, allocations: 0 / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1086, allocations: 23.89 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.1098, allocations: 0.5413 MB / 364.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1101, allocations: 99.5 kB / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1103, allocations: 175.3 kB / 364.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.1103, allocations: 4 kB / 364.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.1115, allocations: 0.717 MB / 365.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.1116, allocations: 55.78 kB / 365.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1116, allocations: 4 kB / 365.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.113, allocations: 0.9945 MB / 366.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1131, allocations: 23.92 kB / 366.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1132, allocations: 47.78 kB / 366.2 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1135, allocations: 175.7 kB / 366.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1135, allocations: 0 / 366.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1135, allocations: 0 / 366.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1135, allocations: 3.984 kB / 366.4 MB, free: 5.57 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.0005222/0.114, allocations: 423.2 kB / 366.8 MB, free: 5.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1141, allocations: 8.031 kB / 366.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.1145, allocations: 32.81 kB / 366.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1147, allocations: 200.2 kB / 367 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1147, allocations: 8.375 kB / 367 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1147, allocations: 7.938 kB / 367 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.115, allocations: 137 kB / 367.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.115, allocations: 0 / 367.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.115, allocations: 8 kB / 367.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.115, allocations: 0 / 367.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.1152, allocations: 111.8 kB / 367.3 MB, free: 4.551 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.0007564/0.116, allocations: 0.6606 MB / 367.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1162, allocations: 90.48 kB / 368 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.1162, allocations: 44.84 kB / 368.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/0.1169, allocations: 0.8037 MB / 368.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.117, allocations: 42.55 kB / 368.9 MB, free: 2.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.117, allocations: 0 / 368.9 MB, free: 2.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002854/0.1173, allocations: 117.7 kB / 369 MB, free: 2.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1173, allocations: 59.34 kB / 369.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1175, allocations: 117.8 kB / 369.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1175, allocations: 33.7 kB / 369.2 MB, free: 2.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1176, allocations: 103.8 kB / 369.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.1176, allocations: 47.33 kB / 369.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.1177, allocations: 37.61 kB / 369.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1178, allocations: 319.2 kB / 369.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.1179, allocations: 27.98 kB / 369.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.118, allocations: 73.12 kB / 369.8 MB, free: 1.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1181, allocations: 104.8 kB / 369.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1181, allocations: 3.938 kB / 369.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002238/0.1184, allocations: 137.5 kB / 370.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1184, allocations: 4 kB / 370.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1184, allocations: 0 / 370.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1184, allocations: 7.938 kB / 370.1 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1185, allocations: 39.91 kB / 370.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1186, allocations: 4 kB / 370.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.1186, allocations: 7.906 kB / 370.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1187, allocations: 12 kB / 370.1 MB, free: 1.309 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.0001008/0.1188, allocations: 125.9 kB / 370.3 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1188, allocations: 7.906 kB / 370.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.1191, allocations: 146 kB / 370.4 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1191, allocations: 4 kB / 370.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1191, allocations: 0 / 370.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1191, allocations: 0 / 370.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.1196, allocations: 394.3 kB / 370.8 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1196, allocations: 0 / 370.8 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.1197, allocations: 23.98 kB / 370.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1197, allocations: 0 / 370.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1197, allocations: 8 kB / 370.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1197, allocations: 3.938 kB / 370.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1198, allocations: 0 / 370.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.12, allocations: 203.4 kB / 371 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.1201, allocations: 104.9 kB / 371.1 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1201, allocations: 4 kB / 371.1 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.1202, allocations: 0 / 371.1 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.1202, allocations: 11.98 kB / 371.2 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1202, allocations: 8 kB / 371.2 MB, free: 184 kB / 302.1 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.1203, allocations: 95.2 kB / 371.3 MB, free: 88 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1203, allocations: 0 / 371.3 MB, free: 88 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1206, allocations: 56 kB / 371.3 MB, free: 32 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.1487/0.2694, allocations: 169.5 kB / 371.5 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.2696, allocations: 94.41 kB / 371.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2696, allocations: 0 / 371.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.751e-05/0.2697, allocations: 38.27 kB / 371.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.2702, allocations: 44.09 kB / 371.7 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.2707, allocations: 295.1 kB / 371.9 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2708, allocations: 0.6959 MB / 372.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.2709, allocations: 20.58 kB / 372.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2709, allocations: 0 / 372.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of Templates: time 0.004572/0.2755, allocations: 2.265 MB / 374.9 MB, free: 19.46 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches