Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.93 MB / 361.5 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 83.81 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2659, allocations: 66.07 MB / 0.5619 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1678/0.4337, allocations: 153.1 MB / 0.7114 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.4364, allocations: 2.2 MB / 0.7136 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.4365, allocations: 4 kB / 0.7136 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.4368, allocations: 59.7 kB / 0.7136 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.4384, allocations: 0.6453 MB / 0.7143 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.4387, allocations: 115.1 kB / 0.7144 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.4391, allocations: 263 kB / 0.7146 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.4391, allocations: 7.984 kB / 0.7146 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.4394, allocations: 147.4 kB / 0.7148 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.4396, allocations: 95.7 kB / 0.7149 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.4396, allocations: 8 kB / 0.7149 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.4412, allocations: 0.8962 MB / 0.7157 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.4413, allocations: 91.75 kB / 0.7158 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.4414, allocations: 95.59 kB / 0.7159 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4424, allocations: 0.6531 MB / 0.7166 GB, free: 5.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4424, allocations: 0 / 0.7166 GB, free: 5.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4424, allocations: 0 / 0.7166 GB, free: 5.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4425, allocations: 4 kB / 0.7166 GB, free: 5.336 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.0007825/0.4432, allocations: 449.4 kB / 0.717 GB, free: 4.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4433, allocations: 12.03 kB / 0.717 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4452, allocations: 272.5 kB / 0.7173 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.4456, allocations: 222 kB / 0.7175 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4456, allocations: 12.33 kB / 0.7175 GB, free: 4.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.4457, allocations: 20 kB / 0.7175 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.4465, allocations: 496.7 kB / 0.718 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4465, allocations: 3.938 kB / 0.718 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.4465, allocations: 4 kB / 0.718 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.4465, allocations: 11.98 kB / 0.718 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000868/0.4474, allocations: 0.5855 MB / 0.7186 GB, free: 3.215 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.002232/0.4496, allocations: 0.9873 MB / 0.7195 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.45, allocations: 233.1 kB / 0.7198 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.4503, allocations: 181.8 kB / 0.7199 GB, free: 1.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000811/0.4511, allocations: 155.8 kB / 0.7201 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4511, allocations: 38.55 kB / 0.7201 GB, free: 1.551 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.4511, allocations: 0 / 0.7201 GB, free: 1.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001823/0.4529, allocations: 0.5981 MB / 0.7207 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.453, allocations: 85.05 kB / 0.7208 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4531, allocations: 129.8 kB / 0.7209 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.4532, allocations: 33.7 kB / 0.7209 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.4532, allocations: 116.5 kB / 0.721 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.4533, allocations: 115 kB / 0.7212 GB, free: 452 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.4535, allocations: 69.48 kB / 0.7212 GB, free: 376 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4536, allocations: 334.8 kB / 0.7215 GB, free: 32 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.4539, allocations: 179.9 kB / 0.7217 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.4544, allocations: 296.5 kB / 0.722 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.4551, allocations: 499 kB / 0.7225 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4551, allocations: 0 / 0.7225 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009502/0.4561, allocations: 0.5209 MB / 0.723 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4561, allocations: 8 kB / 0.723 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4561, allocations: 4 kB / 0.723 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4561, allocations: 4 kB / 0.723 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.4566, allocations: 79.89 kB / 0.7231 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4566, allocations: 7.984 kB / 0.7231 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.457, allocations: 35.77 kB / 0.7231 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.457, allocations: 20 kB / 0.7231 GB, free: 14.3 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.0001753/0.4572, allocations: 155 kB / 0.7233 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4573, allocations: 15.91 kB / 0.7233 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009268/0.4582, allocations: 490.5 kB / 0.7238 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4582, allocations: 4 kB / 0.7238 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4582, allocations: 0 / 0.7238 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4582, allocations: 3.984 kB / 0.7238 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.4589, allocations: 432.9 kB / 0.7242 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4589, allocations: 0 / 0.7242 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.4594, allocations: 63.84 kB / 0.7242 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4594, allocations: 0 / 0.7242 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.4595, allocations: 11.98 kB / 0.7243 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4595, allocations: 8 kB / 0.7243 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4595, allocations: 0 / 0.7243 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4605, allocations: 0.6835 MB / 0.7249 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.4606, allocations: 23.83 kB / 0.725 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.4606, allocations: 11.98 kB / 0.725 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.4611, allocations: 19.98 kB / 0.725 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4611, allocations: 23.89 kB / 0.725 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.4612, allocations: 15.98 kB / 0.725 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.012e-05/0.4612, allocations: 103.3 kB / 0.7251 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4612, allocations: 0 / 0.7251 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005838/0.4618, allocations: 163.6 kB / 0.7253 GB, free: 12.04 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.0007633/0.4626, allocations: 346.6 kB / 0.7256 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.4633, allocations: 411.6 kB / 0.726 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4633, allocations: 0 / 0.726 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.4637, allocations: 211.8 kB / 0.7262 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.4643, allocations: 99.38 kB / 0.7263 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.4657, allocations: 0.9252 MB / 0.7272 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.4661, allocations: 0.7288 MB / 0.7279 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4663, allocations: 35.42 kB / 0.7279 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.4663, allocations: 4 kB / 0.728 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of Templates: time 0.009801/0.4761, allocations: 6.678 MB / 0.7345 GB, free: 2.543 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.058233893942088]