Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 47.92 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2213, allocations: 52.18 MB / 423 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00711/0.2285, allocations: 4.572 MB / 427.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.2294, allocations: 0.5726 MB / 428.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.2294, allocations: 0 / 428.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2296, allocations: 31.78 kB / 428.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.2311, allocations: 0.5995 MB / 428.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.2313, allocations: 102.1 kB / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.2315, allocations: 179.3 kB / 429.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.2316, allocations: 11.92 kB / 429.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2327, allocations: 0.6311 MB / 429.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.2328, allocations: 47.77 kB / 429.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2328, allocations: 8 kB / 429.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.2342, allocations: 0.8774 MB / 430.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.2343, allocations: 15.92 kB / 430.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.2343, allocations: 51.84 kB / 430.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.2347, allocations: 229.9 kB / 431 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2347, allocations: 4 kB / 431 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2347, allocations: 0 / 431 MB, free: 6.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2347, allocations: 0 / 431 MB, free: 6.508 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.0004838/0.2352, allocations: 349.6 kB / 431.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.2352, allocations: 8.031 kB / 431.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.2356, allocations: 36.86 kB / 431.4 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2359, allocations: 134.4 kB / 431.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2359, allocations: 12.31 kB / 431.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2359, allocations: 7.938 kB / 431.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.2362, allocations: 222.1 kB / 431.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2362, allocations: 0 / 431.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2362, allocations: 8 kB / 431.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2362, allocations: 0 / 431.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2364, allocations: 107.8 kB / 431.8 MB, free: 5.551 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.0007238/0.2371, allocations: 0.5515 MB / 432.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2373, allocations: 78.48 kB / 432.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.2374, allocations: 36.84 kB / 432.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.2376, allocations: 56.2 kB / 432.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2377, allocations: 38.56 kB / 432.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2377, allocations: 0 / 432.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002893/0.238, allocations: 125.6 kB / 432.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.238, allocations: 59.39 kB / 432.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2381, allocations: 117.7 kB / 432.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.2381, allocations: 29.7 kB / 432.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.2382, allocations: 103.9 kB / 433 MB, free: 4.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.2382, allocations: 43.58 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.2383, allocations: 41.7 kB / 433.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2384, allocations: 314.8 kB / 433.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.2385, allocations: 31.98 kB / 433.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/0.2386, allocations: 69.14 kB / 433.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.2387, allocations: 107.1 kB / 433.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2387, allocations: 0 / 433.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002246/0.239, allocations: 141.5 kB / 433.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.239, allocations: 12.03 kB / 433.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.239, allocations: 0 / 433.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.239, allocations: 4 kB / 433.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2391, allocations: 27.98 kB / 433.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2391, allocations: 11.92 kB / 433.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.2392, allocations: 11.95 kB / 433.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2392, allocations: 4 kB / 433.8 MB, free: 3.406 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 9.946e-05/0.2393, allocations: 129.7 kB / 433.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2393, allocations: 15.88 kB / 434 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.2396, allocations: 142.1 kB / 434.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.2396, allocations: 15.86 kB / 434.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2396, allocations: 0 / 434.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2397, allocations: 0 / 434.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.2401, allocations: 322.2 kB / 434.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2401, allocations: 0 / 434.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.2402, allocations: 19.94 kB / 434.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2402, allocations: 7.938 kB / 434.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2402, allocations: 7.984 kB / 434.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2402, allocations: 4 kB / 434.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2402, allocations: 0 / 434.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.2404, allocations: 203.5 kB / 434.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.2405, allocations: 23.88 kB / 434.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2405, allocations: 3.938 kB / 434.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.2406, allocations: 4 kB / 434.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.2406, allocations: 11.98 kB / 434.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.2406, allocations: 7.984 kB / 434.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.2407, allocations: 99.2 kB / 434.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2407, allocations: 0 / 434.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.241, allocations: 55.88 kB / 434.9 MB, free: 2.289 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.000246/0.2413, allocations: 159 kB / 435 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.2414, allocations: 80.16 kB / 435.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2414, allocations: 4.062 kB / 435.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.2415, allocations: 39.92 kB / 435.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.2419, allocations: 39.89 kB / 435.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.2423, allocations: 236.2 kB / 435.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.2424, allocations: 75.77 kB / 435.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2425, allocations: 41.09 kB / 435.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.2426, allocations: 19.44 kB / 435.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2426, allocations: 0 / 435.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Templates: time 0.006256/0.2488, allocations: 2.525 MB / 438.1 MB, free: 15.08 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.478991098701954]