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.00104/0.00104, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001072/0.001072, allocations: 164.2 kB / 24.99 MB, free: 8.801 MB / 18.57 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.053/1.053, allocations: 177 MB / 205.2 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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.2864/0.2864, allocations: 34.86 MB / 296.6 MB, free: 0.5742 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.38e-05, allocations: 6.25 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2971/0.2972, allocations: 145.3 MB / 0.5118 GB, free: 17.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2989, allocations: 2.232 MB / 0.5139 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.299, allocations: 0 / 0.5139 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.2993, allocations: 52.19 kB / 0.514 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.3006, allocations: 0.6715 MB / 0.5146 GB, free: 16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3008, allocations: 104.3 kB / 0.5147 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3011, allocations: 254.8 kB / 0.515 GB, free: 15.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.3011, allocations: 14.98 kB / 0.515 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.3014, allocations: 184.2 kB / 0.5152 GB, free: 15.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3015, allocations: 86.25 kB / 0.5153 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3015, allocations: 8.594 kB / 0.5153 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000931/0.3025, allocations: 0.7697 MB / 0.516 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.3025, allocations: 84.23 kB / 0.5161 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.3026, allocations: 79.27 kB / 0.5162 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.3033, allocations: 0.6845 MB / 0.5168 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3033, allocations: 0 / 0.5168 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3033, allocations: 3.094 kB / 0.5169 GB, free: 15.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3033, allocations: 0 / 0.5169 GB, free: 15.21 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.0005129/0.3038, allocations: 0.5381 MB / 0.5174 GB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3038, allocations: 7.938 kB / 0.5174 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3051, allocations: 336.2 kB / 0.5177 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3053, allocations: 219.5 kB / 0.5179 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3053, allocations: 13.77 kB / 0.5179 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.3054, allocations: 22.72 kB / 0.5179 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.3058, allocations: 0.5038 MB / 0.5184 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3058, allocations: 2.688 kB / 0.5184 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.3058, allocations: 8 kB / 0.5185 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.3058, allocations: 10.38 kB / 0.5185 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.3062, allocations: 294.2 kB / 0.5187 GB, free: 14.18 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.001184/0.3074, allocations: 0.8876 MB / 0.5196 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3076, allocations: 178.6 kB / 0.5198 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3077, allocations: 111.5 kB / 0.5199 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.3081, allocations: 148.4 kB / 0.52 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3081, allocations: 47.5 kB / 0.5201 GB, free: 13.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.382e-06/0.3081, allocations: 0 / 0.5201 GB, free: 13.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001007/0.3091, allocations: 467.1 kB / 0.5205 GB, free: 13.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.3092, allocations: 80.23 kB / 0.5206 GB, free: 13.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.3092, allocations: 189.6 kB / 0.5208 GB, free: 13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3093, allocations: 32.58 kB / 0.5208 GB, free: 12.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.3093, allocations: 159.8 kB / 0.521 GB, free: 12.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.3094, allocations: 115.4 kB / 0.5211 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.3094, allocations: 75.98 kB / 0.5211 GB, free: 12.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.3095, allocations: 0.503 MB / 0.5216 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3096, allocations: 100.2 kB / 0.5217 GB, free: 12.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3098, allocations: 247.7 kB / 0.522 GB, free: 11.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.3101, allocations: 372.8 kB / 0.5223 GB, free: 11.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3101, allocations: 0 / 0.5223 GB, free: 11.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004538/0.3105, allocations: 388.7 kB / 0.5227 GB, free: 11.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3106, allocations: 14.28 kB / 0.5227 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3106, allocations: 7.156 kB / 0.5227 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3106, allocations: 5.219 kB / 0.5227 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3108, allocations: 81.31 kB / 0.5228 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3109, allocations: 2.438 kB / 0.5228 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.311, allocations: 38.83 kB / 0.5228 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3111, allocations: 21.64 kB / 0.5229 GB, free: 11.54 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.803e-05/0.3111, allocations: 180.9 kB / 0.523 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.3112, allocations: 30.28 kB / 0.5231 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.3117, allocations: 371.3 kB / 0.5234 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3117, allocations: 2.344 kB / 0.5234 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3117, allocations: 4 kB / 0.5234 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3117, allocations: 0 / 0.5234 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.3121, allocations: 316.5 kB / 0.5237 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3121, allocations: 0 / 0.5237 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3123, allocations: 60.14 kB / 0.5238 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3123, allocations: 0 / 0.5238 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.3123, allocations: 11.94 kB / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3123, allocations: 10.69 kB / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3123, allocations: 0 / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.3129, allocations: 0.6656 MB / 0.5244 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.3129, allocations: 21.41 kB / 0.5245 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.3129, allocations: 15.86 kB / 0.5245 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.3132, allocations: 23.81 kB / 0.5245 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3132, allocations: 20.56 kB / 0.5245 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.3132, allocations: 22.22 kB / 0.5245 GB, free: 10.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.14e-05/0.3133, allocations: 135.1 kB / 0.5247 GB, free: 10.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3133, allocations: 3.938 kB / 0.5247 GB, free: 10.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005237/0.3138, allocations: 159.6 kB / 0.5248 GB, free: 10.38 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.000573/0.3144, allocations: 345.2 kB / 0.5252 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.3148, allocations: 299.6 kB / 0.5254 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3148, allocations: 0 / 0.5254 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3149, allocations: 156.5 kB / 0.5256 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.3154, allocations: 101.9 kB / 0.5257 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3165, allocations: 0.6742 MB / 0.5263 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.3165, allocations: 92.23 kB / 0.5264 GB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.3168, allocations: 95.58 kB / 0.5265 GB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3169, allocations: 34.48 kB / 0.5266 GB, free: 9.484 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3169, allocations: 4 kB / 0.5266 GB, free: 9.48 MB / 410.7 MB Notification: Performance of Templates: time 0.009429/0.3263, allocations: 8.334 MB / 0.5347 GB, free: 7.367 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.7365509308874607]