Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002146, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009837/0.001827, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.864/0.864, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1343/0.9983, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1302/0.1302, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02073/0.1509, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.171e-05, allocations: 2.312 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2336/0.2336, allocations: 143.8 MB / 411.1 MB, free: 8.449 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2352, allocations: 2.144 MB / 413.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.2353, allocations: 7.938 kB / 413.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.2355, allocations: 50.06 kB / 413.3 MB, free: 6.262 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009099/0.2364, allocations: 0.6233 MB / 414 MB, free: 5.641 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.2366, allocations: 110.4 kB / 414.1 MB, free: 5.535 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.2369, allocations: 267.5 kB / 414.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.2369, allocations: 4 kB / 414.3 MB, free: 5.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.2371, allocations: 175.4 kB / 414.5 MB, free: 5.098 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2373, allocations: 83.77 kB / 414.6 MB, free: 5.016 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.2373, allocations: 8 kB / 414.6 MB, free: 5.008 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008988/0.2382, allocations: 0.7673 MB / 415.4 MB, free: 4.238 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.2382, allocations: 71.86 kB / 415.4 MB, free: 4.168 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.2383, allocations: 63.88 kB / 415.5 MB, free: 4.105 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.2389, allocations: 0.5806 MB / 416.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2389, allocations: 0 / 416.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2389, allocations: 0 / 416.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.2389, allocations: 0 / 416.1 MB, free: 3.523 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005284/0.2394, allocations: 490 kB / 416.5 MB, free: 3.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.2395, allocations: 12.03 kB / 416.6 MB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2405, allocations: 389.4 kB / 416.9 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.2407, allocations: 197.5 kB / 417.1 MB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2407, allocations: 12.7 kB / 417.1 MB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.2408, allocations: 28.36 kB / 417.2 MB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.2412, allocations: 450.4 kB / 417.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2412, allocations: 3.938 kB / 417.6 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.2412, allocations: 15.92 kB / 417.6 MB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2412, allocations: 11.98 kB / 417.6 MB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.2415, allocations: 209.5 kB / 417.8 MB, free: 1.629 MB / 394.7 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.000951/0.2425, allocations: 0.668 MB / 418.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.2426, allocations: 174.2 kB / 418.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.2427, allocations: 73.7 kB / 418.8 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.243, allocations: 103.9 kB / 418.9 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.243, allocations: 38.56 kB / 418.9 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.302e-06/0.243, allocations: 4 kB / 418.9 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007443/0.2437, allocations: 353.6 kB / 419.2 MB, free: 172 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2438, allocations: 81.11 kB / 419.3 MB, free: 72 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.2438, allocations: 127.9 kB / 419.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.2439, allocations: 33.7 kB / 419.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.2439, allocations: 112.5 kB / 419.6 MB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.244, allocations: 115 kB / 419.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.2441, allocations: 65.66 kB / 419.8 MB, free: 15.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.2441, allocations: 326.8 kB / 420.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.2442, allocations: 66.81 kB / 420.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2443, allocations: 181.3 kB / 420.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.2446, allocations: 281.1 kB / 420.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2446, allocations: 0 / 420.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002954/0.2449, allocations: 272.2 kB / 420.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2449, allocations: 8 kB / 420.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2449, allocations: 4 kB / 420.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2449, allocations: 4 kB / 420.9 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.2452, allocations: 91.83 kB / 421 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2452, allocations: 7.938 kB / 421 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.2453, allocations: 31.77 kB / 421 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2454, allocations: 16 kB / 421 MB, free: 14.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.17e-05/0.2454, allocations: 140.6 kB / 421.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.2455, allocations: 31.91 kB / 421.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.2458, allocations: 263 kB / 421.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2458, allocations: 4 kB / 421.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.2458, allocations: 0 / 421.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2458, allocations: 7.922 kB / 421.5 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.2461, allocations: 189.7 kB / 421.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2461, allocations: 3.938 kB / 421.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2464, allocations: 59.95 kB / 421.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.2464, allocations: 31.83 kB / 421.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2464, allocations: 0 / 421.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.2464, allocations: 8 kB / 421.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2464, allocations: 0 / 421.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2464, allocations: 8 kB / 421.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.2469, allocations: 0.527 MB / 422.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.2469, allocations: 12.86 kB / 422.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2471, allocations: 15.98 kB / 422.3 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.2471, allocations: 15.97 kB / 422.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.2471, allocations: 15.92 kB / 422.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.217e-05/0.2472, allocations: 20.67 kB / 422.4 MB, free: 12.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2472, allocations: 0 / 422.4 MB, free: 12.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004088/0.2476, allocations: 163.7 kB / 422.5 MB, free: 12.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.0005291/0.2481, allocations: 322.3 kB / 422.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.2484, allocations: 216.2 kB / 423.1 MB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.2484, allocations: 7.984 kB / 423.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2485, allocations: 134.1 kB / 423.2 MB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.2489, allocations: 246.6 kB / 423.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.2511, allocations: 0.4944 MB / 423.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.2511, allocations: 92.64 kB / 424 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.2514, allocations: 73.86 kB / 424.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.2517, allocations: 149.2 kB / 424.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2517, allocations: 0 / 424.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01487/0.2666, allocations: 9.737 MB / 434 MB, free: 1.215 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0553057128563523]