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.00139/0.00139, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001628/0.001628, allocations: 166.7 kB / 24.99 MB, free: 8.805 MB / 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 0.9958/0.9958, allocations: 177.1 MB / 205.3 MB, free: 5.656 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.2954/0.2954, allocations: 34.26 MB / 296 MB, free: 0.7734 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.543e-06/1.543e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.72e-05, allocations: 5.547 kB / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3659/0.3659, allocations: 145.3 MB / 0.511 GB, free: 18.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.3681, allocations: 2.237 MB / 0.5132 GB, free: 16.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.3682, allocations: 3.938 kB / 0.5132 GB, free: 16.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.3686, allocations: 52.53 kB / 0.5133 GB, free: 16.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.3701, allocations: 0.6695 MB / 0.5139 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3704, allocations: 101.7 kB / 0.514 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.3708, allocations: 258.8 kB / 0.5143 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.3708, allocations: 9.734 kB / 0.5143 GB, free: 16.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.3712, allocations: 185.6 kB / 0.5145 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3713, allocations: 85.92 kB / 0.5145 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.3714, allocations: 8.812 kB / 0.5146 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.3726, allocations: 0.7715 MB / 0.5153 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.3727, allocations: 85.55 kB / 0.5154 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.3728, allocations: 76.52 kB / 0.5155 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008543/0.3736, allocations: 0.6803 MB / 0.5161 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3736, allocations: 0 / 0.5161 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3736, allocations: 2.562 kB / 0.5161 GB, free: 15.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3737, allocations: 3.938 kB / 0.5161 GB, free: 15.82 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.0006197/0.3743, allocations: 0.5362 MB / 0.5167 GB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3743, allocations: 8.844 kB / 0.5167 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.3756, allocations: 329 kB / 0.517 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.3759, allocations: 221.6 kB / 0.5172 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3759, allocations: 18.42 kB / 0.5172 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.3759, allocations: 21.59 kB / 0.5172 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.3764, allocations: 0.509 MB / 0.5177 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3764, allocations: 0 / 0.5177 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.3764, allocations: 6.594 kB / 0.5177 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.3765, allocations: 11.66 kB / 0.5177 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.3768, allocations: 298.1 kB / 0.518 GB, free: 14.78 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.001189/0.378, allocations: 0.8847 MB / 0.5189 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3783, allocations: 183.4 kB / 0.5191 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3784, allocations: 109.3 kB / 0.5192 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.3788, allocations: 150.2 kB / 0.5193 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.3788, allocations: 42.38 kB / 0.5194 GB, free: 14.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.3788, allocations: 0 / 0.5194 GB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001012/0.3798, allocations: 470 kB / 0.5198 GB, free: 13.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3799, allocations: 82.92 kB / 0.5199 GB, free: 13.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.3799, allocations: 189.5 kB / 0.5201 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.38, allocations: 32.17 kB / 0.5201 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.38, allocations: 162.5 kB / 0.5202 GB, free: 13.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.3801, allocations: 109.2 kB / 0.5204 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/0.3802, allocations: 76.91 kB / 0.5204 GB, free: 13.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.3802, allocations: 0.4988 MB / 0.5209 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3804, allocations: 104 kB / 0.521 GB, free: 12.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.3805, allocations: 251.6 kB / 0.5213 GB, free: 12.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.3809, allocations: 377.7 kB / 0.5216 GB, free: 12.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3809, allocations: 3.125 kB / 0.5216 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004801/0.3813, allocations: 389.3 kB / 0.522 GB, free: 12.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3814, allocations: 10 kB / 0.522 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3814, allocations: 6.969 kB / 0.522 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3814, allocations: 5.531 kB / 0.522 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3817, allocations: 76.72 kB / 0.5221 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3817, allocations: 7.281 kB / 0.5221 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3818, allocations: 32.47 kB / 0.5221 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3819, allocations: 15.31 kB / 0.5221 GB, free: 12.14 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 8.8e-05/0.3819, allocations: 184.8 kB / 0.5223 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.382, allocations: 32.66 kB / 0.5223 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.3825, allocations: 373.3 kB / 0.5227 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3825, allocations: 3.219 kB / 0.5227 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3825, allocations: 4 kB / 0.5227 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3825, allocations: 2.484 kB / 0.5227 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.3829, allocations: 318.2 kB / 0.523 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3829, allocations: 0.75 kB / 0.523 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.3831, allocations: 58.75 kB / 0.5231 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3831, allocations: 0 / 0.5231 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3832, allocations: 12.67 kB / 0.5231 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3832, allocations: 3.938 kB / 0.5231 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3832, allocations: 8.172 kB / 0.5231 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.3837, allocations: 0.6649 MB / 0.5237 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.3838, allocations: 17.62 kB / 0.5238 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.3838, allocations: 10.75 kB / 0.5238 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.384, allocations: 24.23 kB / 0.5238 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.384, allocations: 25.56 kB / 0.5238 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.3841, allocations: 17.48 kB / 0.5238 GB, free: 11.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.3841, allocations: 136.8 kB / 0.524 GB, free: 11.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3841, allocations: 0 / 0.524 GB, free: 11.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.3846, allocations: 160.4 kB / 0.5241 GB, free: 10.98 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.0005607/0.3851, allocations: 353.3 kB / 0.5245 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.3855, allocations: 292.8 kB / 0.5247 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3855, allocations: 0 / 0.5247 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3857, allocations: 158 kB / 0.5249 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3861, allocations: 101.5 kB / 0.525 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3872, allocations: 0.673 MB / 0.5256 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.851e-05/0.3872, allocations: 91.53 kB / 0.5257 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.3875, allocations: 98.34 kB / 0.5258 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/0.3876, allocations: 31.84 kB / 0.5258 GB, free: 10.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3876, allocations: 6.875 kB / 0.5259 GB, free: 10.09 MB / 410.7 MB Notification: Performance of Templates: time 0.009071/0.3967, allocations: 8.336 MB / 0.534 GB, free: 8.02 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.700529348105192]