Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 119.3 kB / 21.17 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 215.5 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 71.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2256, allocations: 53.31 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007605/0.2332, allocations: 4.986 MB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.2341, allocations: 0.627 MB / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.2342, allocations: 0 / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.2344, allocations: 31.81 kB / 437.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.236, allocations: 0.58 MB / 438.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.2362, allocations: 106.2 kB / 438.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.2365, allocations: 179.3 kB / 438.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.2365, allocations: 4 kB / 438.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.2376, allocations: 0.6197 MB / 439.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.2377, allocations: 47.77 kB / 439.2 MB, free: 216 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2377, allocations: 8 kB / 439.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.239, allocations: 0.8985 MB / 440.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.2391, allocations: 15.92 kB / 440.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.2392, allocations: 51.78 kB / 440.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.2396, allocations: 243.2 kB / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2396, allocations: 0 / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2396, allocations: 4 kB / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2396, allocations: 0 / 440.4 MB, free: 15 MB / 350.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.000519/0.2401, allocations: 430.8 kB / 440.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.2401, allocations: 8.031 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.2405, allocations: 32.86 kB / 440.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2408, allocations: 192.2 kB / 441.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2408, allocations: 8.375 kB / 441.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.2408, allocations: 11.94 kB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.2411, allocations: 152.2 kB / 441.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2411, allocations: 0 / 441.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2411, allocations: 4 kB / 441.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2411, allocations: 4 kB / 441.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2413, allocations: 111.8 kB / 441.3 MB, free: 13.96 MB / 350.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.0007272/0.242, allocations: 0.6529 MB / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2421, allocations: 86.42 kB / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.2422, allocations: 32.84 kB / 442.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.2429, allocations: 0.8076 MB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2429, allocations: 34.56 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.2429, allocations: 0 / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002834/0.2432, allocations: 129.9 kB / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2432, allocations: 63.28 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2433, allocations: 113.8 kB / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2433, allocations: 29.7 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.2434, allocations: 103.9 kB / 443.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.2434, allocations: 47.58 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.2435, allocations: 37.66 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2436, allocations: 318.8 kB / 443.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.2437, allocations: 31.98 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.2438, allocations: 69.12 kB / 443.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2439, allocations: 104.5 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2439, allocations: 0 / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002181/0.2441, allocations: 133.5 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2441, allocations: 4 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2442, allocations: 4 kB / 444.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2442, allocations: 7.938 kB / 444.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2443, allocations: 40.08 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2443, allocations: 4 kB / 444.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.981e-05/0.2444, allocations: 16.25 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2444, allocations: 12 kB / 444.2 MB, free: 10.73 MB / 350.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.507e-05/0.2445, allocations: 117.8 kB / 444.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.2445, allocations: 7.953 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.2448, allocations: 138 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2448, allocations: 8 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2448, allocations: 3.938 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2448, allocations: 0 / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.2453, allocations: 402.3 kB / 444.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2453, allocations: 7.938 kB / 444.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.2454, allocations: 19.98 kB / 444.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2454, allocations: 3.938 kB / 444.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.2454, allocations: 8 kB / 444.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2454, allocations: 0 / 444.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2454, allocations: 4 kB / 444.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2456, allocations: 202.5 kB / 445.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.2457, allocations: 97.03 kB / 445.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2457, allocations: 4 kB / 445.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.2458, allocations: 0 / 445.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.2458, allocations: 11.98 kB / 445.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2458, allocations: 8 kB / 445.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.21e-05/0.2459, allocations: 95.27 kB / 445.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2459, allocations: 0 / 445.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.2462, allocations: 55.88 kB / 445.4 MB, free: 9.453 MB / 350.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.0002793/0.2465, allocations: 163 kB / 445.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2467, allocations: 79.89 kB / 445.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2467, allocations: 0 / 445.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.2467, allocations: 39.92 kB / 445.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2472, allocations: 52.42 kB / 445.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.2476, allocations: 273 kB / 446 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.2479, allocations: 0.6928 MB / 446.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.248, allocations: 31.41 kB / 446.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.248, allocations: 7.938 kB / 446.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of Templates: time 0.004451/0.2525, allocations: 2.209 MB / 448.9 MB, free: 5.863 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.660524350125343]