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.001167/0.001167, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2136, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005855/0.2194, allocations: 4.903 MB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.2202, allocations: 0.6192 MB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.2203, allocations: 0 / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.2205, allocations: 35.75 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.2217, allocations: 0.5916 MB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2219, allocations: 91.36 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2221, allocations: 179.3 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.2222, allocations: 11.98 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/0.2231, allocations: 0.6119 MB / 417 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.2232, allocations: 43.83 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.2232, allocations: 4 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.2245, allocations: 0.8851 MB / 417.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.2245, allocations: 27.91 kB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.2246, allocations: 51.72 kB / 418 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.225, allocations: 232.8 kB / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.225, allocations: 0 / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.225, allocations: 7.984 kB / 418.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.225, allocations: 0 / 418.2 MB, free: 9.285 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.0004331/0.2255, allocations: 415.3 kB / 418.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2255, allocations: 12.03 kB / 418.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.2259, allocations: 36.8 kB / 418.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2261, allocations: 196.1 kB / 418.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2261, allocations: 8.359 kB / 418.9 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2261, allocations: 15.94 kB / 418.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2264, allocations: 131.3 kB / 419 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2264, allocations: 7.875 kB / 419 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2264, allocations: 4 kB / 419 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2264, allocations: 4 kB / 419 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2266, allocations: 107.9 kB / 419.1 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.0006463/0.2272, allocations: 0.6684 MB / 419.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.2274, allocations: 90.48 kB / 419.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.2274, allocations: 32.86 kB / 419.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/0.228, allocations: 0.8154 MB / 420.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.228, allocations: 38.55 kB / 420.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.228, allocations: 0 / 420.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002565/0.2283, allocations: 125.8 kB / 420.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.2283, allocations: 59.34 kB / 420.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.2284, allocations: 109.8 kB / 421 MB, free: 6.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2285, allocations: 29.7 kB / 421.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.2285, allocations: 103.9 kB / 421.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.2286, allocations: 39.36 kB / 421.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.2286, allocations: 45.7 kB / 421.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.2287, allocations: 310.8 kB / 421.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.2288, allocations: 31.92 kB / 421.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.2288, allocations: 73.03 kB / 421.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.229, allocations: 101.1 kB / 421.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.229, allocations: 0 / 421.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002093/0.2292, allocations: 141.2 kB / 421.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2292, allocations: 4.156 kB / 421.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2292, allocations: 8 kB / 421.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2292, allocations: 0 / 421.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2294, allocations: 39.84 kB / 422 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.2294, allocations: 4 kB / 422 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.2295, allocations: 15.84 kB / 422 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2295, allocations: 8.375 kB / 422 MB, free: 5.027 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 8.482e-05/0.2296, allocations: 125.7 kB / 422.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.2296, allocations: 7.906 kB / 422.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.2299, allocations: 141.9 kB / 422.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2299, allocations: 7.938 kB / 422.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2299, allocations: 0 / 422.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.23, allocations: 97.02 kB / 422.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.23, allocations: 4 kB / 422.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2301, allocations: 4 kB / 422.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.2301, allocations: 7.984 kB / 422.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001835/0.2303, allocations: 188.8 kB / 422.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001995/0.2305, allocations: 286.6 kB / 422.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.721e-05/0.2306, allocations: 43.59 kB / 422.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.121e-05/0.2307, allocations: 87.28 kB / 423 MB, free: 3.984 MB / 334.1 MB Notification: Performance of Backend: time 2.11e-07/0.2307, allocations: 0 / 423 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.2313, allocations: 238.1 kB / 423.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005037/0.2318, allocations: 0.6759 MB / 423.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Templates: time 0.005455/0.2372, allocations: 2.841 MB / 426.7 MB, free: 200 kB / 334.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