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.001121/0.001121, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001016/0.001016, allocations: 161 kB / 24.56 MB, free: 16 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.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2444/0.2444, allocations: 34.25 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|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.432e-06/1.432e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.756e-05, allocations: 9.203 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2911/0.2911, allocations: 145.6 MB / 0.5113 GB, free: 18.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2932, allocations: 2.233 MB / 0.5135 GB, free: 16.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.2932, allocations: 2.938 kB / 0.5135 GB, free: 16.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.2936, allocations: 51.61 kB / 0.5136 GB, free: 16.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.2951, allocations: 0.6715 MB / 0.5142 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.2954, allocations: 100.5 kB / 0.5143 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2957, allocations: 264.3 kB / 0.5146 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.2958, allocations: 4 kB / 0.5146 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.296, allocations: 186.3 kB / 0.5148 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2962, allocations: 91.05 kB / 0.5148 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.2962, allocations: 9.031 kB / 0.5149 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.2972, allocations: 0.7647 MB / 0.5156 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.2973, allocations: 88.58 kB / 0.5157 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.2974, allocations: 75.36 kB / 0.5158 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.2982, allocations: 0.6815 MB / 0.5164 GB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2982, allocations: 0 / 0.5164 GB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2982, allocations: 4 kB / 0.5164 GB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2982, allocations: 0 / 0.5164 GB, free: 15.59 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.0005761/0.2988, allocations: 0.5422 MB / 0.517 GB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2988, allocations: 9 kB / 0.517 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.3, allocations: 331.8 kB / 0.5173 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.3002, allocations: 223.8 kB / 0.5175 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3002, allocations: 11.33 kB / 0.5175 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.3003, allocations: 23.34 kB / 0.5175 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.3007, allocations: 0.5042 MB / 0.518 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3007, allocations: 4 kB / 0.518 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.3008, allocations: 7.062 kB / 0.518 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.3008, allocations: 15.5 kB / 0.518 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.3011, allocations: 292 kB / 0.5183 GB, free: 14.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.001141/0.3023, allocations: 0.8861 MB / 0.5192 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3025, allocations: 177.2 kB / 0.5194 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3026, allocations: 107.1 kB / 0.5195 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.303, allocations: 150.3 kB / 0.5196 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.303, allocations: 52.69 kB / 0.5197 GB, free: 13.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.303, allocations: 3.984 kB / 0.5197 GB, free: 13.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009616/0.304, allocations: 466.5 kB / 0.5201 GB, free: 13.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.304, allocations: 85.5 kB / 0.5202 GB, free: 13.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.3041, allocations: 187.8 kB / 0.5204 GB, free: 13.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3041, allocations: 32.7 kB / 0.5204 GB, free: 13.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.3041, allocations: 166.7 kB / 0.5206 GB, free: 13.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.3042, allocations: 114.5 kB / 0.5207 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.3043, allocations: 71.67 kB / 0.5207 GB, free: 13.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.3043, allocations: 0.498 MB / 0.5212 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3044, allocations: 97.02 kB / 0.5213 GB, free: 12.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3046, allocations: 254 kB / 0.5216 GB, free: 12.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.3049, allocations: 375.7 kB / 0.5219 GB, free: 12.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3049, allocations: 3.344 kB / 0.5219 GB, free: 12.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004202/0.3053, allocations: 384.4 kB / 0.5223 GB, free: 11.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3053, allocations: 6.25 kB / 0.5223 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3054, allocations: 13.5 kB / 0.5223 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3054, allocations: 5.406 kB / 0.5223 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.3056, allocations: 77.66 kB / 0.5224 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.3056, allocations: 12.45 kB / 0.5224 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.3058, allocations: 30.22 kB / 0.5224 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.3058, allocations: 20.94 kB / 0.5224 GB, free: 11.9 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 7.964e-05/0.3059, allocations: 174 kB / 0.5226 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.306, allocations: 32.94 kB / 0.5226 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.3064, allocations: 371.5 kB / 0.523 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3064, allocations: 3.125 kB / 0.523 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3064, allocations: 0.5625 kB / 0.523 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3064, allocations: 5.531 kB / 0.523 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.3068, allocations: 319.4 kB / 0.5233 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3068, allocations: 0 / 0.5233 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.307, allocations: 62.53 kB / 0.5234 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.307, allocations: 2.938 kB / 0.5234 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.307, allocations: 9.438 kB / 0.5234 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.307, allocations: 6.938 kB / 0.5234 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.307, allocations: 2.422 kB / 0.5234 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3075, allocations: 0.6703 MB / 0.524 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.3076, allocations: 17.31 kB / 0.5241 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.3076, allocations: 20.58 kB / 0.5241 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.3078, allocations: 15.5 kB / 0.5241 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.3078, allocations: 21.34 kB / 0.5241 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3079, allocations: 14.47 kB / 0.5241 GB, free: 10.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.912e-05/0.3079, allocations: 137.1 kB / 0.5243 GB, free: 10.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3079, allocations: 0 / 0.5243 GB, free: 10.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.3083, allocations: 164 kB / 0.5244 GB, free: 10.74 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.0005228/0.3088, allocations: 363 kB / 0.5248 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.3092, allocations: 298 kB / 0.525 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3092, allocations: 0 / 0.525 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3093, allocations: 146.2 kB / 0.5252 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3097, allocations: 99.39 kB / 0.5253 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.3107, allocations: 0.6724 MB / 0.5259 GB, free: 9.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.3107, allocations: 91.14 kB / 0.526 GB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.311, allocations: 101.2 kB / 0.5261 GB, free: 9.867 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3111, allocations: 28.06 kB / 0.5261 GB, free: 9.859 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3111, allocations: 0 / 0.5261 GB, free: 9.859 MB / 410.7 MB Notification: Performance of Templates: time 0.008077/0.3192, allocations: 8.341 MB / 0.5343 GB, free: 7.754 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7847621268592775]