Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002163/0.002163, allocations: 81.73 kB / 20.49 MB, free: 1.211 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.002722/0.002722, allocations: 163.5 kB / 23.75 MB, free: 4.234 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.566/1.566, allocations: 177.2 MB / 204.1 MB, free: 9.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2191/0.2191, allocations: 32.81 MB / 293.3 MB, free: 168 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 67.91 kB / 439.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3878, allocations: 65.46 MB / 0.4934 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1896/0.5774, allocations: 131.6 MB / 0.6219 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.5811, allocations: 1.967 MB / 0.6239 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.5812, allocations: 0 / 0.6239 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.5819, allocations: 63.66 kB / 0.6239 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.5847, allocations: 0.6376 MB / 0.6245 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.5852, allocations: 103.7 kB / 0.6246 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.5857, allocations: 263 kB / 0.6249 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.583e-05/0.5857, allocations: 4 kB / 0.6249 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.5861, allocations: 187.4 kB / 0.6251 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.5864, allocations: 91.64 kB / 0.6252 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.5864, allocations: 8 kB / 0.6252 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.5881, allocations: 0.7675 MB / 0.6259 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.5882, allocations: 87.81 kB / 0.626 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.5883, allocations: 87.59 kB / 0.6261 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.5894, allocations: 0.6457 MB / 0.6267 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5894, allocations: 0 / 0.6267 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5894, allocations: 4 kB / 0.6267 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5894, allocations: 3.938 kB / 0.6267 GB, free: 12.11 MB / 0.5294 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.0009363/0.5904, allocations: 441.4 kB / 0.6271 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5904, allocations: 8.031 kB / 0.6271 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.5924, allocations: 284.5 kB / 0.6274 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.5929, allocations: 218 kB / 0.6276 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5929, allocations: 12.33 kB / 0.6276 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/0.593, allocations: 20 kB / 0.6277 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.594, allocations: 0.6473 MB / 0.6283 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.594, allocations: 4 kB / 0.6283 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.594, allocations: 12 kB / 0.6283 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.5941, allocations: 8 kB / 0.6283 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/0.595, allocations: 0.5738 MB / 0.6289 GB, free: 9.801 MB / 0.5294 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.002297/0.5973, allocations: 0.9021 MB / 0.6298 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.5978, allocations: 241 kB / 0.63 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.598, allocations: 181.6 kB / 0.6302 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008744/0.5989, allocations: 159.8 kB / 0.6303 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.599, allocations: 38.56 kB / 0.6303 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.599, allocations: 0 / 0.6303 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002056/0.601, allocations: 0.6102 MB / 0.6309 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.6011, allocations: 81.05 kB / 0.631 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.6012, allocations: 129.8 kB / 0.6311 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.6013, allocations: 29.7 kB / 0.6312 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.6014, allocations: 112.5 kB / 0.6313 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.6015, allocations: 123 kB / 0.6314 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.6016, allocations: 65.47 kB / 0.6315 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6018, allocations: 330.8 kB / 0.6318 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.6022, allocations: 187.9 kB / 0.632 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.6027, allocations: 297.5 kB / 0.6322 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.6035, allocations: 484.6 kB / 0.6327 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6035, allocations: 0 / 0.6327 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001039/0.6046, allocations: 0.5224 MB / 0.6332 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6046, allocations: 8 kB / 0.6332 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6046, allocations: 4 kB / 0.6332 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.6046, allocations: 4 kB / 0.6332 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.6052, allocations: 79.88 kB / 0.6333 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.6052, allocations: 7.938 kB / 0.6333 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.6056, allocations: 39.77 kB / 0.6333 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.6056, allocations: 16.28 kB / 0.6334 GB, free: 4.98 MB / 0.5294 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.0002071/0.6058, allocations: 153.7 kB / 0.6335 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.606, allocations: 19.89 kB / 0.6335 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.607, allocations: 0.4897 MB / 0.634 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.607, allocations: 4 kB / 0.634 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.607, allocations: 0 / 0.634 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.6071, allocations: 0 / 0.634 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.6078, allocations: 349.8 kB / 0.6343 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6078, allocations: 3.938 kB / 0.6343 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.6083, allocations: 67.83 kB / 0.6344 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.6083, allocations: 0 / 0.6344 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.6083, allocations: 15.98 kB / 0.6344 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.6083, allocations: 4 kB / 0.6344 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6083, allocations: 0 / 0.6344 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.6096, allocations: 0.6923 MB / 0.6351 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.6096, allocations: 11.89 kB / 0.6351 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.6097, allocations: 11.98 kB / 0.6351 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.6102, allocations: 15.98 kB / 0.6351 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.6102, allocations: 15.97 kB / 0.6352 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.6103, allocations: 23.98 kB / 0.6352 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.6104, allocations: 107.6 kB / 0.6353 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6104, allocations: 0 / 0.6353 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000767/0.6111, allocations: 167.6 kB / 0.6354 GB, free: 2.785 MB / 0.5294 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.0008466/0.612, allocations: 342.8 kB / 0.6358 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000892/0.6129, allocations: 416.1 kB / 0.6362 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.6129, allocations: 4.25 kB / 0.6362 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.6133, allocations: 215.8 kB / 0.6364 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.614, allocations: 92.31 kB / 0.6365 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.6156, allocations: 0.8758 MB / 0.6373 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.6158, allocations: 127.6 kB / 0.6374 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004833/0.6162, allocations: 113.8 kB / 0.6376 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.6164, allocations: 24.5 kB / 0.6376 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.6164, allocations: 0 / 0.6376 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of Templates: time 0.2719/0.8882, allocations: 8.175 MB / 0.6456 GB, free: 143.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.068646611645818]