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.002221/0.002221, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002488/0.002488, allocations: 215.7 kB / 23.75 MB, free: 4.668 MB / 14.72 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 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.2401/0.2401, allocations: 46.93 MB / 360.8 MB, free: 4.234 MB / 286.1 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 0.002157/0.002157, allocations: 59.91 kB / 0.4966 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.428, allocations: 66.03 MB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2128/0.6409, allocations: 153.1 MB / 0.7106 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.644, allocations: 2.204 MB / 0.7127 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.6441, allocations: 0 / 0.7127 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.6444, allocations: 63.64 kB / 0.7128 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.646, allocations: 0.6454 MB / 0.7134 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.6463, allocations: 107.7 kB / 0.7135 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.6467, allocations: 267 kB / 0.7138 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.6468, allocations: 4 kB / 0.7138 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.6471, allocations: 147.4 kB / 0.7139 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.6473, allocations: 95.7 kB / 0.714 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.6473, allocations: 12 kB / 0.714 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.6492, allocations: 0.8962 MB / 0.7149 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.6493, allocations: 87.75 kB / 0.715 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.6495, allocations: 99.59 kB / 0.7151 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.6505, allocations: 0.6531 MB / 0.7157 GB, free: 5.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6505, allocations: 0 / 0.7157 GB, free: 5.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6505, allocations: 0 / 0.7157 GB, free: 5.457 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6505, allocations: 0 / 0.7157 GB, free: 5.457 MB / 0.545 GB 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.001016/0.6515, allocations: 459.6 kB / 0.7162 GB, free: 4.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.6516, allocations: 8.031 kB / 0.7162 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.6536, allocations: 272.5 kB / 0.7164 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.6541, allocations: 226 kB / 0.7166 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.6541, allocations: 12.33 kB / 0.7167 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.6542, allocations: 20 kB / 0.7167 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008609/0.6551, allocations: 492.7 kB / 0.7171 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6551, allocations: 4 kB / 0.7172 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.6552, allocations: 8 kB / 0.7172 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.6552, allocations: 11.98 kB / 0.7172 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.6564, allocations: 0.5855 MB / 0.7177 GB, free: 3.328 MB / 0.545 GB 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.002887/0.6593, allocations: 0.9873 MB / 0.7187 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.6597, allocations: 237.1 kB / 0.7189 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.66, allocations: 181.6 kB / 0.7191 GB, free: 1.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.6611, allocations: 151.8 kB / 0.7193 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.6611, allocations: 38.56 kB / 0.7193 GB, free: 1.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.6611, allocations: 0 / 0.7193 GB, free: 1.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002019/0.6631, allocations: 0.6034 MB / 0.7199 GB, free: 1.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/0.6632, allocations: 81.11 kB / 0.72 GB, free: 0.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.6634, allocations: 133.7 kB / 0.7201 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.6634, allocations: 29.7 kB / 0.7201 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.6635, allocations: 116.5 kB / 0.7202 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.6637, allocations: 111 kB / 0.7203 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.6639, allocations: 69.47 kB / 0.7204 GB, free: 492 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.664, allocations: 326.8 kB / 0.7207 GB, free: 156 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.6644, allocations: 183.9 kB / 0.7209 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.6649, allocations: 300.4 kB / 0.7212 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008443/0.6657, allocations: 494.6 kB / 0.7216 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6658, allocations: 4 kB / 0.7216 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001054/0.6668, allocations: 0.5232 MB / 0.7222 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6668, allocations: 8.031 kB / 0.7222 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.6668, allocations: 4 kB / 0.7222 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6669, allocations: 4 kB / 0.7222 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.6674, allocations: 83.83 kB / 0.7222 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.6674, allocations: 8 kB / 0.7223 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.6678, allocations: 35.77 kB / 0.7223 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.6678, allocations: 19.98 kB / 0.7223 GB, free: 14.41 MB / 0.5606 GB 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.0001755/0.668, allocations: 145.7 kB / 0.7224 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6681, allocations: 19.91 kB / 0.7225 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6692, allocations: 486.1 kB / 0.7229 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.6692, allocations: 4 kB / 0.7229 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6692, allocations: 0 / 0.7229 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.6692, allocations: 3.984 kB / 0.7229 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.67, allocations: 428.9 kB / 0.7233 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.67, allocations: 0 / 0.7233 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.6705, allocations: 63.89 kB / 0.7234 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6705, allocations: 3.938 kB / 0.7234 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.6706, allocations: 11.98 kB / 0.7234 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6706, allocations: 4 kB / 0.7234 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6706, allocations: 4 kB / 0.7234 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.6718, allocations: 0.6878 MB / 0.7241 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.6718, allocations: 15.84 kB / 0.7241 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.6719, allocations: 12 kB / 0.7241 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.6724, allocations: 23.97 kB / 0.7242 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.6724, allocations: 15.97 kB / 0.7242 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.6726, allocations: 19.98 kB / 0.7242 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.949e-05/0.6727, allocations: 103.2 kB / 0.7243 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6727, allocations: 0 / 0.7243 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008214/0.6735, allocations: 159.6 kB / 0.7244 GB, free: 12.16 MB / 0.5606 GB 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.0008226/0.6743, allocations: 358.1 kB / 0.7248 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.6754, allocations: 419 kB / 0.7252 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6754, allocations: 0 / 0.7252 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.6759, allocations: 215.7 kB / 0.7254 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.6767, allocations: 95.47 kB / 0.7255 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6783, allocations: 0.8799 MB / 0.7263 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.6789, allocations: 0.7443 MB / 0.7271 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004593/0.6793, allocations: 105.8 kB / 0.7272 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.6795, allocations: 31.42 kB / 0.7272 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of SimCode: time 4.7e-07/0.6795, allocations: 0 / 0.7272 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of Templates: time 0.0162/0.6957, allocations: 8.268 MB / 0.7353 GB, free: 1.055 MB / 0.5606 GB " [Timeout remaining time 659] 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: 6.556708566844463]