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.000942/0.0009418, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009893/0.0009892, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 247.5 MB, free: 9.656 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002294/0.0002293, allocations: 8 kB / 308.4 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.096, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006146/0.1022, allocations: 4.636 MB / 364.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.1032, allocations: 0.635 MB / 365.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.1033, allocations: 0 / 365.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1036, allocations: 19.89 kB / 365.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.105, allocations: 0.5374 MB / 365.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1053, allocations: 87.88 kB / 365.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.1056, allocations: 215.2 kB / 366 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1057, allocations: 4 kB / 366 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.1069, allocations: 0.7014 MB / 366.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.986e-05/0.107, allocations: 55.77 kB / 366.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.107, allocations: 4 kB / 366.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.1085, allocations: 0.9749 MB / 367.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.1086, allocations: 23.92 kB / 367.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.1086, allocations: 69.48 kB / 367.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.109, allocations: 175.7 kB / 368 MB, free: 4.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.109, allocations: 0 / 368 MB, free: 4.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.109, allocations: 0 / 368 MB, free: 4.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.515e-06/0.109, allocations: 4 kB / 368 MB, free: 4.895 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.0004759/0.1095, allocations: 399.2 kB / 368.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1096, allocations: 12.03 kB / 368.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.11, allocations: 36.81 kB / 368.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1102, allocations: 196.2 kB / 368.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1102, allocations: 8.375 kB / 368.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1102, allocations: 15.94 kB / 368.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.1105, allocations: 135.6 kB / 368.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1105, allocations: 0 / 368.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1105, allocations: 4 kB / 368.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1105, allocations: 4 kB / 368.8 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1107, allocations: 115.8 kB / 368.9 MB, free: 3.887 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.0007132/0.1114, allocations: 0.6528 MB / 369.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1116, allocations: 90.48 kB / 369.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.1117, allocations: 36.84 kB / 369.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/0.1123, allocations: 0.8115 MB / 370.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1124, allocations: 38.55 kB / 370.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1124, allocations: 0 / 370.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002767/0.1126, allocations: 129.2 kB / 370.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1127, allocations: 59.34 kB / 370.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.1128, allocations: 113.8 kB / 370.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1128, allocations: 33.7 kB / 370.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.1129, allocations: 107.8 kB / 371 MB, free: 1.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1129, allocations: 39.39 kB / 371 MB, free: 1.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.113, allocations: 17.72 kB / 371.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1131, allocations: 326.8 kB / 371.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.1131, allocations: 23.98 kB / 371.4 MB, free: 1.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.1132, allocations: 75.95 kB / 371.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1134, allocations: 101.1 kB / 371.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1134, allocations: 0 / 371.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002056/0.1136, allocations: 137.4 kB / 371.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1136, allocations: 8 kB / 371.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1136, allocations: 0 / 371.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1136, allocations: 7.938 kB / 371.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1138, allocations: 35.92 kB / 371.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1138, allocations: 4 kB / 371.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.1139, allocations: 11.89 kB / 371.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.1139, allocations: 8 kB / 371.8 MB, free: 0.6758 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.484e-05/0.114, allocations: 133.8 kB / 371.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1141, allocations: 11.91 kB / 371.9 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.1144, allocations: 141.9 kB / 372.1 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1144, allocations: 4 kB / 372.1 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1144, allocations: 0 / 372.1 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1144, allocations: 0 / 372.1 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1599/0.2743, allocations: 390.3 kB / 372.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2743, allocations: 1.094 kB / 372.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2745, allocations: 22.5 kB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.2745, allocations: 1 kB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.2745, allocations: 4.797 kB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2745, allocations: 1.469 kB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2745, allocations: 4.312 kB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.2748, allocations: 200.8 kB / 372.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.2749, allocations: 98.77 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.2749, allocations: 3.125 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.275, allocations: 5.672 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.2751, allocations: 12.33 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2751, allocations: 13.53 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.2751, allocations: 90.78 kB / 372.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.2752, allocations: 2.031 kB / 372.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.2756, allocations: 60.56 kB / 373 MB, free: 19.43 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.0003561/0.276, allocations: 176 kB / 373.1 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2762, allocations: 79.11 kB / 373.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2762, allocations: 0.875 kB / 373.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.2763, allocations: 41.33 kB / 373.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.2768, allocations: 44.5 kB / 373.3 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.2773, allocations: 328 kB / 373.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2774, allocations: 0.6936 MB / 374.3 MB, free: 18.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.2775, allocations: 20.61 kB / 374.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2775, allocations: 1.469 kB / 374.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of Templates: time 0.005433/0.283, allocations: 2.248 MB / 376.6 MB, free: 18.26 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