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.001443/0.001442, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.001711, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 65.14 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08712, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006295/0.09345, allocations: 4.917 MB / 363.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.09427, allocations: 0.6153 MB / 364.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.09433, allocations: 3.938 kB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.09455, allocations: 31.77 kB / 364.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.09583, allocations: 0.5917 MB / 365 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.09606, allocations: 79.86 kB / 365.1 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.09631, allocations: 187.2 kB / 365.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.09635, allocations: 4 kB / 365.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009535/0.09731, allocations: 0.6197 MB / 365.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.0974, allocations: 47.83 kB / 366 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.09742, allocations: 4 kB / 366 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.09866, allocations: 0.8813 MB / 366.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.09872, allocations: 23.91 kB / 366.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.09879, allocations: 51.73 kB / 366.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.09916, allocations: 235.5 kB / 367.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09918, allocations: 0 / 367.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09919, allocations: 0 / 367.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.0992, allocations: 0 / 367.2 MB, free: 5.051 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.0004619/0.09966, allocations: 431.2 kB / 367.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.0997, allocations: 8.031 kB / 367.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.1001, allocations: 36.81 kB / 367.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1003, allocations: 192.2 kB / 367.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1004, allocations: 4.375 kB / 367.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1004, allocations: 11.94 kB / 367.8 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.1006, allocations: 139.5 kB / 368 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1006, allocations: 8 kB / 368 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1007, allocations: 0 / 368 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1007, allocations: 4 kB / 368 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1008, allocations: 111.8 kB / 368.1 MB, free: 4.023 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.0006827/0.1015, allocations: 0.6644 MB / 368.8 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1017, allocations: 86.55 kB / 368.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.1018, allocations: 44.34 kB / 368.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.1024, allocations: 0.7998 MB / 369.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1024, allocations: 42.44 kB / 369.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.1024, allocations: 0 / 369.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000291/0.1027, allocations: 134 kB / 369.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1028, allocations: 55.34 kB / 369.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.1029, allocations: 121.8 kB / 370 MB, free: 1.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1029, allocations: 25.7 kB / 370.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.103, allocations: 111.8 kB / 370.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.103, allocations: 39.39 kB / 370.2 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.1031, allocations: 37.62 kB / 370.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1032, allocations: 322.8 kB / 370.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.1032, allocations: 23.98 kB / 370.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.1033, allocations: 73.06 kB / 370.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1035, allocations: 109.1 kB / 370.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1035, allocations: 0 / 370.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002016/0.1037, allocations: 137.4 kB / 370.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1037, allocations: 8 kB / 370.9 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1037, allocations: 0 / 370.9 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1037, allocations: 7.938 kB / 370.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1038, allocations: 31.92 kB / 370.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1039, allocations: 8.156 kB / 370.9 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.1039, allocations: 11.91 kB / 371 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.104, allocations: 7.984 kB / 371 MB, free: 0.7773 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.479e-05/0.1041, allocations: 125.7 kB / 371.1 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.1041, allocations: 15.84 kB / 371.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.1044, allocations: 141.9 kB / 371.2 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1044, allocations: 8 kB / 371.2 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1044, allocations: 0 / 371.2 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1044, allocations: 0 / 371.2 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1048, allocations: 394.3 kB / 371.6 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1049, allocations: 0 / 371.6 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.1049, allocations: 27.98 kB / 371.7 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.105, allocations: 0 / 371.7 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.105, allocations: 0 / 371.7 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.105, allocations: 11.98 kB / 371.7 MB, free: 0 / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.105, allocations: 0 / 371.7 MB, free: 0 / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.239, allocations: 202.4 kB / 371.9 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.239, allocations: 96.53 kB / 372 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.2391, allocations: 2.109 kB / 372 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2392, allocations: 14.67 kB / 372 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2392, allocations: 8.078 kB / 372 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.2393, allocations: 6.859 kB / 372 MB, free: 20.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.999e-05/0.2393, allocations: 89.53 kB / 372.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2393, allocations: 0 / 372.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.2397, allocations: 59.39 kB / 372.1 MB, free: 20.64 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.0002444/0.24, allocations: 158.6 kB / 372.3 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.2402, allocations: 85.34 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2402, allocations: 0.5625 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.2402, allocations: 41.58 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2406, allocations: 43.81 kB / 372.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.241, allocations: 231.4 kB / 372.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2411, allocations: 0.6938 MB / 373.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.2413, allocations: 32.45 kB / 373.4 MB, free: 19.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.2413, allocations: 21.97 kB / 373.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2413, allocations: 0 / 373.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of Templates: time 0.005537/0.2468, allocations: 2.458 MB / 375.9 MB, free: 19.58 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 -s gbode -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