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.001176/0.001176, allocations: 100.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 209.7 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 62.73 kB / 306.9 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09612, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007242/0.1034, allocations: 5.043 MB / 362.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.1044, allocations: 0.6505 MB / 363.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.1045, allocations: 0 / 363.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1048, allocations: 23.84 kB / 363.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1063, allocations: 0.5258 MB / 363.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1065, allocations: 83.81 kB / 363.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.1068, allocations: 223.2 kB / 364 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.1069, allocations: 8 kB / 364 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1081, allocations: 0.7053 MB / 364.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1082, allocations: 51.83 kB / 364.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.1082, allocations: 4 kB / 364.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.1099, allocations: 0.9789 MB / 365.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.1099, allocations: 19.86 kB / 365.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.11, allocations: 51.78 kB / 365.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.1105, allocations: 175.7 kB / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1105, allocations: 0 / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1105, allocations: 0 / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1105, allocations: 0 / 366 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.0006016/0.1111, allocations: 437.4 kB / 366.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1112, allocations: 8.031 kB / 366.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.1116, allocations: 32.81 kB / 366.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1118, allocations: 196.2 kB / 366.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1119, allocations: 8.375 kB / 366.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1119, allocations: 7.938 kB / 366.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1122, allocations: 133.1 kB / 366.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1122, allocations: 3.984 kB / 366.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1122, allocations: 8 kB / 366.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1122, allocations: 0 / 366.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1124, allocations: 103.9 kB / 366.9 MB, free: 4.684 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.0007666/0.1132, allocations: 0.6722 MB / 367.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1134, allocations: 78.55 kB / 367.6 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.1135, allocations: 44.34 kB / 367.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.1141, allocations: 0.8115 MB / 368.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1141, allocations: 34.5 kB / 368.5 MB, free: 2.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1141, allocations: 4 kB / 368.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002855/0.1144, allocations: 118 kB / 368.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1145, allocations: 67.28 kB / 368.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.1146, allocations: 117.8 kB / 368.8 MB, free: 2.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1146, allocations: 29.7 kB / 368.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.1147, allocations: 99.8 kB / 368.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1147, allocations: 47.38 kB / 369 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.1148, allocations: 45.55 kB / 369 MB, free: 2.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.115, allocations: 322.8 kB / 369.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.1151, allocations: 27.98 kB / 369.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.1151, allocations: 69.08 kB / 369.4 MB, free: 1.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.1153, allocations: 101.1 kB / 369.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1154, allocations: 0 / 369.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002148/0.1156, allocations: 137.4 kB / 369.7 MB, free: 1.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1156, allocations: 4 kB / 369.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1156, allocations: 4 kB / 369.7 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1156, allocations: 3.938 kB / 369.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1158, allocations: 40.08 kB / 369.7 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1158, allocations: 4 kB / 369.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.1159, allocations: 7.906 kB / 369.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.1159, allocations: 12 kB / 369.7 MB, free: 1.438 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.052e-05/0.116, allocations: 121.7 kB / 369.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.1161, allocations: 7.906 kB / 369.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.1164, allocations: 161.7 kB / 370 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1164, allocations: 0 / 370 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1164, allocations: 0 / 370 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1164, allocations: 0 / 370 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.1168, allocations: 394.3 kB / 370.4 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1169, allocations: 0 / 370.4 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.1169, allocations: 19.98 kB / 370.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.117, allocations: 0 / 370.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.117, allocations: 8 kB / 370.4 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.117, allocations: 4 kB / 370.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.117, allocations: 0 / 370.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1172, allocations: 207.3 kB / 370.6 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.1173, allocations: 96.94 kB / 370.7 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1173, allocations: 4 kB / 370.7 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1174, allocations: 4 kB / 370.7 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.1175, allocations: 7.984 kB / 370.8 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1175, allocations: 12 kB / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of sorting global known variables: time 5.634e-05/0.1175, allocations: 95.2 kB / 370.9 MB, free: 220 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1175, allocations: 3.938 kB / 370.9 MB, free: 216 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.1179, allocations: 56 kB / 370.9 MB, free: 160 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.153/0.2709, allocations: 166.7 kB / 371.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.2712, allocations: 84.47 kB / 371.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2713, allocations: 0 / 371.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.2713, allocations: 42.2 kB / 371.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.2719, allocations: 45.28 kB / 371.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.2724, allocations: 287.6 kB / 371.5 MB, free: 20.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2725, allocations: 0.6985 MB / 372.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.2726, allocations: 28.08 kB / 372.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2726, allocations: 0.625 kB / 372.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of Templates: time 0.00521/0.2778, allocations: 2.255 MB / 374.5 MB, free: 19.9 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/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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches