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.006174/0.006174, allocations: 108.9 kB / 21.97 MB, free: 5.184 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.001526/0.001526, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.48/1.48, allocations: 230.6 MB / 259 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.001998/0.001998, allocations: 63.89 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2481, allocations: 53.36 MB / 433.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007665/0.2558, allocations: 4.994 MB / 438.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.2567, allocations: 0.6193 MB / 438.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.2568, allocations: 3.938 kB / 438.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.257, allocations: 27.83 kB / 438.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.2585, allocations: 0.6073 MB / 439.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.2587, allocations: 103.8 kB / 439.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.259, allocations: 187.2 kB / 439.7 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.259, allocations: 0 / 439.7 MB, free: 396 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.2602, allocations: 0.6236 MB / 440.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.2603, allocations: 55.77 kB / 440.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2603, allocations: 8 kB / 440.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.2618, allocations: 0.9179 MB / 441.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.2619, allocations: 27.89 kB / 441.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.555e-05/0.262, allocations: 43.81 kB / 441.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.2624, allocations: 243 kB / 441.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2624, allocations: 0 / 441.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2624, allocations: 3.938 kB / 441.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2624, allocations: 0 / 441.6 MB, free: 14.47 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.0005258/0.2629, allocations: 353.6 kB / 441.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2629, allocations: 11.97 kB / 442 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.2633, allocations: 36.86 kB / 442 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2636, allocations: 130.5 kB / 442.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.2636, allocations: 8.375 kB / 442.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.2636, allocations: 11.94 kB / 442.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.2639, allocations: 145 kB / 442.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2639, allocations: 0 / 442.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2639, allocations: 0 / 442.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2639, allocations: 4 kB / 442.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.2641, allocations: 118.7 kB / 442.4 MB, free: 13.6 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.0007811/0.2649, allocations: 0.6247 MB / 443 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2651, allocations: 78.48 kB / 443.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.2651, allocations: 36.84 kB / 443.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.2654, allocations: 63.89 kB / 443.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2654, allocations: 30.56 kB / 443.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2654, allocations: 0 / 443.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003156/0.2657, allocations: 131.9 kB / 443.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2658, allocations: 63.28 kB / 443.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2659, allocations: 113.8 kB / 443.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.2659, allocations: 33.7 kB / 443.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.266, allocations: 100.4 kB / 443.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.266, allocations: 55.56 kB / 443.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.2661, allocations: 37.67 kB / 443.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2662, allocations: 314.8 kB / 444.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.2663, allocations: 31.92 kB / 444.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.965e-05/0.2664, allocations: 69.12 kB / 444.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2666, allocations: 107.3 kB / 444.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2666, allocations: 0 / 444.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002315/0.2668, allocations: 137.5 kB / 444.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2668, allocations: 7.938 kB / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2668, allocations: 4 kB / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2668, allocations: 3.938 kB / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2669, allocations: 31.98 kB / 444.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.267, allocations: 0 / 444.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.267, allocations: 15.89 kB / 444.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.267, allocations: 15.98 kB / 444.5 MB, free: 11.34 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.914e-05/0.2671, allocations: 121.9 kB / 444.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2672, allocations: 7.953 kB / 444.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.2675, allocations: 149.9 kB / 444.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2675, allocations: 0 / 444.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2675, allocations: 3.938 kB / 444.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2675, allocations: 0 / 444.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.268, allocations: 368.6 kB / 445.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.268, allocations: 4 kB / 445.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.2681, allocations: 23.92 kB / 445.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2681, allocations: 4 kB / 445.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2681, allocations: 7.938 kB / 445.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2681, allocations: 0 / 445.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2681, allocations: 0 / 445.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2683, allocations: 203.4 kB / 445.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.2683, allocations: 15.94 kB / 445.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2684, allocations: 12 kB / 445.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-05/0.2685, allocations: 0 / 445.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.2685, allocations: 15.97 kB / 445.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2685, allocations: 4 kB / 445.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.827e-05/0.2686, allocations: 91.27 kB / 445.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2686, allocations: 0 / 445.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.2689, allocations: 63.88 kB / 445.5 MB, free: 10.19 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.0002696/0.2692, allocations: 159.2 kB / 445.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2694, allocations: 79.89 kB / 445.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2694, allocations: 0 / 445.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.2694, allocations: 36.23 kB / 445.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.2699, allocations: 51.89 kB / 445.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.2704, allocations: 266 kB / 446.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.2707, allocations: 0.6928 MB / 446.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.2708, allocations: 31.41 kB / 446.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2708, allocations: 0 / 446.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004577/0.2754, allocations: 2.22 MB / 449.1 MB, free: 6.609 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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: 7.488821540027857]