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.001813/0.001813, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002253/0.002253, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.002758/0.002758, allocations: 68.77 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2254, allocations: 53.37 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007238/0.2327, allocations: 4.986 MB / 437.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.2336, allocations: 0.627 MB / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.2336, allocations: 0 / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.2338, allocations: 27.83 kB / 438 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.2352, allocations: 0.6189 MB / 438.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2354, allocations: 99.17 kB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.2357, allocations: 175.3 kB / 438.9 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.2357, allocations: 7.984 kB / 438.9 MB, free: 340 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.2369, allocations: 0.6236 MB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.237, allocations: 51.77 kB / 439.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.237, allocations: 4 kB / 439.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.2385, allocations: 0.9223 MB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.2385, allocations: 19.92 kB / 440.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.2386, allocations: 47.78 kB / 440.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.239, allocations: 243 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.239, allocations: 7.938 kB / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.239, allocations: 0 / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.239, allocations: 0 / 440.8 MB, free: 14.42 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.0005002/0.2395, allocations: 353.6 kB / 441.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2395, allocations: 8.031 kB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.2399, allocations: 32.88 kB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2402, allocations: 138.4 kB / 441.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2402, allocations: 8.312 kB / 441.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.2402, allocations: 15.94 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.2405, allocations: 141 kB / 441.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.2405, allocations: 0 / 441.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.2405, allocations: 7.969 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2405, allocations: 7.938 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.2407, allocations: 111.9 kB / 441.6 MB, free: 13.54 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.0007585/0.2414, allocations: 0.6208 MB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2416, allocations: 82.48 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.2417, allocations: 32.84 kB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.2419, allocations: 63.92 kB / 442.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2419, allocations: 30.56 kB / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2419, allocations: 0 / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002987/0.2422, allocations: 137.8 kB / 442.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2423, allocations: 55.34 kB / 442.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2424, allocations: 125.8 kB / 442.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2424, allocations: 25.7 kB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.2425, allocations: 96 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.2425, allocations: 47.58 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.2426, allocations: 41.66 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2427, allocations: 318.8 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.2428, allocations: 27.98 kB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.2429, allocations: 65.14 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.243, allocations: 112.8 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.243, allocations: 0 / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002273/0.2432, allocations: 137.5 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2433, allocations: 8 kB / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2433, allocations: 0 / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2433, allocations: 11.94 kB / 443.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2434, allocations: 28.52 kB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2434, allocations: 4 kB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.2435, allocations: 15.89 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2435, allocations: 8 kB / 443.7 MB, free: 11.3 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.718e-05/0.2436, allocations: 125.7 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.2436, allocations: 7.953 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.2439, allocations: 145.8 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.2439, allocations: 7.984 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2439, allocations: 0 / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2439, allocations: 7.984 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.2444, allocations: 361.4 kB / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2444, allocations: 0 / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.2445, allocations: 31.92 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2445, allocations: 0 / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2445, allocations: 0 / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2445, allocations: 0 / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2445, allocations: 4 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.2447, allocations: 215 kB / 444.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.2448, allocations: 19.94 kB / 444.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2448, allocations: 0 / 444.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2449, allocations: 4 kB / 444.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.2449, allocations: 7.984 kB / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2449, allocations: 4 kB / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.097e-05/0.245, allocations: 95.2 kB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.245, allocations: 4 kB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.2453, allocations: 67.86 kB / 444.8 MB, free: 10.13 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.0002471/0.2455, allocations: 151.1 kB / 444.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2457, allocations: 75.91 kB / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2457, allocations: 0 / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.2458, allocations: 35.92 kB / 445 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.2462, allocations: 56.41 kB / 445.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.2466, allocations: 248.2 kB / 445.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.2469, allocations: 0.6966 MB / 446 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.2471, allocations: 28.89 kB / 446.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.2471, allocations: 27.42 kB / 446.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2471, allocations: 0 / 446.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of Templates: time 0.006088/0.2532, allocations: 2.561 MB / 448.7 MB, free: 6.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.5084853153675795]