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.001384/0.001384, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2212, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006581/0.2278, allocations: 4.902 MB / 414.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00086/0.2287, allocations: 0.6309 MB / 414.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.2287, allocations: 0 / 414.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.229, allocations: 23.83 kB / 414.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.2304, allocations: 0.5878 MB / 415.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.2306, allocations: 103.5 kB / 415.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.2309, allocations: 179.3 kB / 415.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.2309, allocations: 8 kB / 415.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009981/0.2319, allocations: 0.6119 MB / 416.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.232, allocations: 47.77 kB / 416.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2321, allocations: 8 kB / 416.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.2334, allocations: 0.889 MB / 417.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.2335, allocations: 19.92 kB / 417.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.2335, allocations: 47.78 kB / 417.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.234, allocations: 232.8 kB / 417.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.234, allocations: 0 / 417.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.234, allocations: 7.938 kB / 417.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.234, allocations: 0 / 417.5 MB, free: 9.266 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.0004934/0.2345, allocations: 427.2 kB / 417.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2346, allocations: 8.031 kB / 417.9 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.235, allocations: 36.81 kB / 418 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2352, allocations: 188.2 kB / 418.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2352, allocations: 12.31 kB / 418.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2353, allocations: 11.94 kB / 418.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.2355, allocations: 139.1 kB / 418.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2355, allocations: 0 / 418.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2355, allocations: 8 kB / 418.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2356, allocations: 0 / 418.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.2357, allocations: 107.9 kB / 418.4 MB, free: 8.246 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.0006686/0.2364, allocations: 0.6724 MB / 419.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2366, allocations: 86.48 kB / 419.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.2366, allocations: 36.84 kB / 419.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005634/0.2372, allocations: 0.8076 MB / 420 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2372, allocations: 34.56 kB / 420.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2373, allocations: 0 / 420.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002873/0.2375, allocations: 137.1 kB / 420.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2376, allocations: 55.34 kB / 420.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.2377, allocations: 117.8 kB / 420.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2377, allocations: 33.7 kB / 420.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.2378, allocations: 95.89 kB / 420.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.2378, allocations: 43.36 kB / 420.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.2379, allocations: 41.7 kB / 420.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.238, allocations: 314.8 kB / 420.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.238, allocations: 27.98 kB / 420.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.2381, allocations: 69.05 kB / 421 MB, free: 5.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2383, allocations: 109 kB / 421.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2383, allocations: 0 / 421.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002161/0.2385, allocations: 137.5 kB / 421.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2385, allocations: 8.156 kB / 421.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2385, allocations: 4 kB / 421.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2386, allocations: 7.938 kB / 421.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2387, allocations: 28.36 kB / 421.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2387, allocations: 0 / 421.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.2388, allocations: 15.84 kB / 421.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2388, allocations: 8 kB / 421.3 MB, free: 5.012 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.201e-05/0.2389, allocations: 125.7 kB / 421.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.2389, allocations: 15.89 kB / 421.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.2392, allocations: 149.8 kB / 421.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2392, allocations: 0 / 421.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2392, allocations: 0 / 421.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2392, allocations: 7.984 kB / 421.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.2397, allocations: 386.1 kB / 422 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2398, allocations: 0 / 422 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.2399, allocations: 23.92 kB / 422 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2399, allocations: 8 kB / 422 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.24, allocations: 7.984 kB / 422 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.24, allocations: 3.984 kB / 422 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.24, allocations: 0 / 422 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.2402, allocations: 199.4 kB / 422.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.2403, allocations: 96.94 kB / 422.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2403, allocations: 11.94 kB / 422.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.2404, allocations: 0 / 422.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.2405, allocations: 15.98 kB / 422.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2405, allocations: 4 kB / 422.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.879e-05/0.2405, allocations: 95.2 kB / 422.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2405, allocations: 0 / 422.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.2409, allocations: 67.98 kB / 422.5 MB, free: 3.707 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.0002372/0.2411, allocations: 151.1 kB / 422.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2413, allocations: 83.91 kB / 422.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2413, allocations: 4 kB / 422.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.36e-05/0.2414, allocations: 39.92 kB / 422.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2418, allocations: 50.91 kB / 422.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.2422, allocations: 239.4 kB / 423 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2425, allocations: 0.6967 MB / 423.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.2426, allocations: 32.8 kB / 423.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.2426, allocations: 23.42 kB / 423.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2426, allocations: 0 / 423.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Templates: time 0.005176/0.2478, allocations: 2.476 MB / 426.3 MB, free: 15.89 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