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.001301/0.001301, allocations: 116.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 60.08 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2238, allocations: 50.55 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006017/0.2298, allocations: 4.913 MB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.2307, allocations: 0.627 MB / 414.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.2307, allocations: 0 / 414.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.2309, allocations: 27.83 kB / 414.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.2322, allocations: 0.5839 MB / 415.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.2324, allocations: 91.8 kB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2326, allocations: 183.3 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.2327, allocations: 7.984 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009412/0.2336, allocations: 0.608 MB / 416.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.2337, allocations: 51.78 kB / 416.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.2337, allocations: 4 kB / 416.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.235, allocations: 0.8853 MB / 417.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.2351, allocations: 19.91 kB / 417.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.2351, allocations: 47.8 kB / 417.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.2356, allocations: 247.1 kB / 417.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2356, allocations: 4 kB / 417.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2356, allocations: 0 / 417.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2356, allocations: 0 / 417.5 MB, free: 9.297 MB / 334.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.0004716/0.2361, allocations: 434.7 kB / 417.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.2361, allocations: 8.031 kB / 417.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.2365, allocations: 32.86 kB / 418 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2367, allocations: 188.3 kB / 418.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2367, allocations: 8.375 kB / 418.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2367, allocations: 11.94 kB / 418.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.237, allocations: 147.3 kB / 418.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.237, allocations: 4 kB / 418.3 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.237, allocations: 4 kB / 418.3 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.237, allocations: 4 kB / 418.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2372, allocations: 107.8 kB / 418.4 MB, free: 8.266 MB / 334.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.0006532/0.2379, allocations: 0.6529 MB / 419.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.238, allocations: 86.48 kB / 419.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.2381, allocations: 40.84 kB / 419.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005557/0.2387, allocations: 0.8037 MB / 420 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2387, allocations: 38.56 kB / 420.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2387, allocations: 0 / 420.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002748/0.239, allocations: 133.2 kB / 420.2 MB, free: 6.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.239, allocations: 55.34 kB / 420.2 MB, free: 6.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.2391, allocations: 125.7 kB / 420.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2392, allocations: 29.7 kB / 420.4 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.2392, allocations: 99.98 kB / 420.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2392, allocations: 55.56 kB / 420.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.2393, allocations: 33.67 kB / 420.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.2394, allocations: 322.8 kB / 420.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.2395, allocations: 23.98 kB / 420.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.2395, allocations: 71.94 kB / 421 MB, free: 5.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2397, allocations: 109 kB / 421.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2397, allocations: 0 / 421.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000195/0.2399, allocations: 137.6 kB / 421.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2399, allocations: 8 kB / 421.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2399, allocations: 0 / 421.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2399, allocations: 7.938 kB / 421.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2401, allocations: 31.98 kB / 421.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2401, allocations: 4 kB / 421.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.948e-05/0.2401, allocations: 16.27 kB / 421.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.2402, allocations: 15.92 kB / 421.3 MB, free: 5.023 MB / 334.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 7.486e-05/0.2403, allocations: 117.8 kB / 421.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.2403, allocations: 16.02 kB / 421.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.2406, allocations: 145.9 kB / 421.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2406, allocations: 4 kB / 421.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2406, allocations: 3.938 kB / 421.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2406, allocations: 0 / 421.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.241, allocations: 398 kB / 422 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.241, allocations: 0 / 422 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.2411, allocations: 31.92 kB / 422 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2411, allocations: 0 / 422 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2411, allocations: 4 kB / 422 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2412, allocations: 4 kB / 422 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2412, allocations: 0 / 422 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.2413, allocations: 195.4 kB / 422.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.2414, allocations: 97.05 kB / 422.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.2414, allocations: 7.984 kB / 422.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.2415, allocations: 7.938 kB / 422.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.2416, allocations: 4 kB / 422.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2416, allocations: 15.98 kB / 422.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.2416, allocations: 95.2 kB / 422.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2416, allocations: 0 / 422.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.242, allocations: 55.88 kB / 422.5 MB, free: 3.734 MB / 334.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.0002494/0.2422, allocations: 159.1 kB / 422.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.2424, allocations: 87.89 kB / 422.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2424, allocations: 0 / 422.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.2425, allocations: 39.92 kB / 422.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.2429, allocations: 56.38 kB / 422.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.2433, allocations: 227.4 kB / 423 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2435, allocations: 0.6967 MB / 423.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.2436, allocations: 32.8 kB / 423.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.2437, allocations: 19.44 kB / 423.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2437, allocations: 0 / 423.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Templates: time 0.005151/0.2488, allocations: 2.487 MB / 426.3 MB, free: 15.91 MB / 350.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