Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001844/0.001844, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002172/0.002172, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.368/0.368, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.938e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3271/0.3271, allocations: 131.7 MB / 0.497 GB, free: 25.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.3295, allocations: 1.973 MB / 0.4989 GB, free: 23.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.3296, allocations: 0 / 0.4989 GB, free: 23.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.33, allocations: 47.16 kB / 0.499 GB, free: 23.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3318, allocations: 0.6619 MB / 0.4996 GB, free: 23.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3321, allocations: 110.2 kB / 0.4997 GB, free: 23.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.3325, allocations: 255 kB / 0.5 GB, free: 23.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.3325, allocations: 5.172 kB / 0.5 GB, free: 23.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.3328, allocations: 185 kB / 0.5002 GB, free: 23.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.333, allocations: 90.92 kB / 0.5002 GB, free: 23.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.3331, allocations: 9.031 kB / 0.5002 GB, free: 23.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.3346, allocations: 0.7664 MB / 0.501 GB, free: 22.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3348, allocations: 91.78 kB / 0.5011 GB, free: 22.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3349, allocations: 77.22 kB / 0.5012 GB, free: 22.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.3361, allocations: 0.7155 MB / 0.5019 GB, free: 22.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3361, allocations: 0 / 0.5019 GB, free: 22.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3361, allocations: 0.7031 kB / 0.5019 GB, free: 22.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3362, allocations: 0 / 0.5019 GB, free: 22.66 MB / 410.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.0008395/0.337, allocations: 447.3 kB / 0.5023 GB, free: 22.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.337, allocations: 12.56 kB / 0.5023 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.3393, allocations: 349 kB / 0.5026 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.3397, allocations: 220.8 kB / 0.5028 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3397, allocations: 10.89 kB / 0.5029 GB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.3398, allocations: 24.27 kB / 0.5029 GB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/0.3407, allocations: 0.6381 MB / 0.5035 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3407, allocations: 2.016 kB / 0.5035 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.3407, allocations: 5.25 kB / 0.5035 GB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.3408, allocations: 8.438 kB / 0.5035 GB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.3417, allocations: 0.5773 MB / 0.5041 GB, free: 21.54 MB / 410.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.00218/0.3439, allocations: 0.9111 MB / 0.505 GB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.3443, allocations: 231.5 kB / 0.5052 GB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3445, allocations: 181.4 kB / 0.5054 GB, free: 20.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009345/0.3455, allocations: 151.4 kB / 0.5055 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3455, allocations: 46.91 kB / 0.5055 GB, free: 20.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.3455, allocations: 0 / 0.5055 GB, free: 20.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001948/0.3475, allocations: 0.6237 MB / 0.5062 GB, free: 20.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.3475, allocations: 81.23 kB / 0.5062 GB, free: 20.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.3476, allocations: 134.6 kB / 0.5064 GB, free: 20.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.3476, allocations: 36.45 kB / 0.5064 GB, free: 20.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.3477, allocations: 108.5 kB / 0.5065 GB, free: 20.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.3477, allocations: 114.2 kB / 0.5066 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3479, allocations: 61.86 kB / 0.5067 GB, free: 20.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.3479, allocations: 328.7 kB / 0.507 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.3483, allocations: 182.2 kB / 0.5072 GB, free: 19.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.3486, allocations: 300.2 kB / 0.5074 GB, free: 19.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.3493, allocations: 498.3 kB / 0.5079 GB, free: 19.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3493, allocations: 5.594 kB / 0.5079 GB, free: 19.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008809/0.3502, allocations: 0.5363 MB / 0.5084 GB, free: 18.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3502, allocations: 8.281 kB / 0.5085 GB, free: 18.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3502, allocations: 6.625 kB / 0.5085 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3503, allocations: 9.781 kB / 0.5085 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.3508, allocations: 88.84 kB / 0.5086 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3508, allocations: 7.375 kB / 0.5086 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.3512, allocations: 37.81 kB / 0.5086 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.3512, allocations: 23.67 kB / 0.5086 GB, free: 18.92 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 0.0001355/0.3514, allocations: 138.2 kB / 0.5088 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.3515, allocations: 36.16 kB / 0.5088 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008857/0.3524, allocations: 491.4 kB / 0.5093 GB, free: 18.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3524, allocations: 2.938 kB / 0.5093 GB, free: 18.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3524, allocations: 0 / 0.5093 GB, free: 18.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3524, allocations: 6.906 kB / 0.5093 GB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.353, allocations: 354.7 kB / 0.5096 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.353, allocations: 0 / 0.5096 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.3534, allocations: 55.45 kB / 0.5097 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3534, allocations: 2.844 kB / 0.5097 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.3535, allocations: 11.61 kB / 0.5097 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3535, allocations: 3.938 kB / 0.5097 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3535, allocations: 5.094 kB / 0.5097 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3545, allocations: 0.704 MB / 0.5104 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3545, allocations: 24.47 kB / 0.5104 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.3546, allocations: 10.19 kB / 0.5104 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.355, allocations: 21.83 kB / 0.5104 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.3551, allocations: 14.14 kB / 0.5104 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.3551, allocations: 19.42 kB / 0.5105 GB, free: 17.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.675e-05/0.3552, allocations: 99.86 kB / 0.5105 GB, free: 17.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3552, allocations: 3.938 kB / 0.5106 GB, free: 17.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008394/0.356, allocations: 164.6 kB / 0.5107 GB, free: 17.75 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.0007626/0.3568, allocations: 355.9 kB / 0.511 GB, free: 17.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006754/0.3575, allocations: 419.1 kB / 0.5114 GB, free: 17.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3575, allocations: 0 / 0.5114 GB, free: 17.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.3578, allocations: 213.2 kB / 0.5117 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.3585, allocations: 100.2 kB / 0.5117 GB, free: 17.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3595, allocations: 0.716 MB / 0.5124 GB, free: 16.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.64e-05/0.3596, allocations: 128 kB / 0.5126 GB, free: 16.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004446/0.36, allocations: 112 kB / 0.5127 GB, free: 16.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3602, allocations: 30.44 kB / 0.5127 GB, free: 16.75 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3602, allocations: 0 / 0.5127 GB, free: 16.75 MB / 410.7 MB Notification: Performance of Templates: time 0.01192/0.3721, allocations: 8.277 MB / 0.5208 GB, free: 15.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.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: 5.458113289903849]