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.001032/0.001032, allocations: 99.58 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001406, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002156/0.0002156, allocations: 8 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08177/0.082, allocations: 51.52 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005622/0.08766, allocations: 4.384 MB / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.08849, allocations: 0.5885 MB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.08857, allocations: 0 / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.08877, allocations: 23.83 kB / 363.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.09003, allocations: 0.5062 MB / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.09027, allocations: 87.06 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.09052, allocations: 195.2 kB / 364.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.09058, allocations: 4 kB / 364.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.09178, allocations: 0.6669 MB / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.09188, allocations: 55.77 kB / 365.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.09191, allocations: 4 kB / 365.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.09343, allocations: 0.9249 MB / 366.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.09349, allocations: 19.92 kB / 366.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.09354, allocations: 41.64 kB / 366.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.09384, allocations: 187.6 kB / 366.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09385, allocations: 4 kB / 366.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09386, allocations: 0 / 366.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.09387, allocations: 0 / 366.3 MB, free: 5.703 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.0004137/0.09429, allocations: 403.1 kB / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.09433, allocations: 8.031 kB / 366.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.09473, allocations: 31.88 kB / 366.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.09492, allocations: 190.9 kB / 366.9 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.09495, allocations: 12 kB / 366.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.09497, allocations: 15.95 kB / 366.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.0952, allocations: 131.6 kB / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.09522, allocations: 4 kB / 367.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.09525, allocations: 7.938 kB / 367.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.09526, allocations: 4 kB / 367.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.09543, allocations: 99.86 kB / 367.2 MB, free: 4.711 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.000667/0.09611, allocations: 0.6722 MB / 367.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.09625, allocations: 82.55 kB / 367.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.09631, allocations: 36.84 kB / 368 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.09689, allocations: 0.8154 MB / 368.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.09693, allocations: 38.56 kB / 368.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.09694, allocations: 0 / 368.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002659/0.09721, allocations: 129.9 kB / 369 MB, free: 2.656 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.09725, allocations: 51.41 kB / 369 MB, free: 2.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.09734, allocations: 118 kB / 369.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.09737, allocations: 29.7 kB / 369.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.09742, allocations: 99.89 kB / 369.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.09746, allocations: 51.3 kB / 369.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.09748, allocations: 0 / 369.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.09758, allocations: 318.8 kB / 369.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.09763, allocations: 27.98 kB / 369.6 MB, free: 1.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.09771, allocations: 65.08 kB / 369.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.09779, allocations: 47.36 kB / 369.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.0978, allocations: 0 / 369.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002029/0.098, allocations: 133.5 kB / 369.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.09802, allocations: 4 kB / 369.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.09804, allocations: 7.984 kB / 369.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.09805, allocations: 4.109 kB / 369.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.09819, allocations: 35.92 kB / 369.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.0982, allocations: 4 kB / 369.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.09826, allocations: 11.91 kB / 369.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.09829, allocations: 8 kB / 370 MB, free: 1.598 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.3e-05/0.09838, allocations: 121.8 kB / 370.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.09842, allocations: 7.906 kB / 370.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.09871, allocations: 150.5 kB / 370.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.09872, allocations: 4 kB / 370.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.09873, allocations: 3.953 kB / 370.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.09874, allocations: 3.938 kB / 370.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.09916, allocations: 382.5 kB / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.09918, allocations: 0 / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.09926, allocations: 27.98 kB / 370.6 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.09927, allocations: 0 / 370.6 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.09929, allocations: 11.95 kB / 370.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.0993, allocations: 4 kB / 370.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0993, allocations: 0 / 370.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.09949, allocations: 207.3 kB / 370.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.09956, allocations: 100.9 kB / 371 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.09959, allocations: 4 kB / 371 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.0997, allocations: 7.953 kB / 371 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.09972, allocations: 7.984 kB / 371 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.09974, allocations: 8 kB / 371 MB, free: 472 kB / 302.1 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.0998, allocations: 91.27 kB / 371.1 MB, free: 380 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0998, allocations: 0 / 371.1 MB, free: 380 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.1001, allocations: 60 kB / 371.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.1004, allocations: 171.1 kB / 371.3 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.1006, allocations: 83.53 kB / 371.4 MB, free: 56 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1006, allocations: 4 kB / 371.4 MB, free: 52 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.1007, allocations: 35.98 kB / 371.4 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.141/0.2417, allocations: 35.78 kB / 371.5 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.2422, allocations: 292 kB / 371.7 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2423, allocations: 0.6945 MB / 372.4 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.2425, allocations: 28.52 kB / 372.5 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.2425, allocations: 21.59 kB / 372.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2425, allocations: 0 / 372.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of Templates: time 0.005578/0.2481, allocations: 2.377 MB / 374.9 MB, free: 18.91 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.0.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