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.001357/0.001357, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001464/0.001464, allocations: 168.7 kB / 24.5 MB, free: 3.453 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 9.055 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.2087/0.2087, allocations: 32.81 MB / 294.1 MB, free: 72 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.00223/0.00223, allocations: 71.89 kB / 440.6 MB, free: 9.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3713, allocations: 65.43 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1825/0.5538, allocations: 131.6 MB / 0.6227 GB, free: 5.004 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.003271/0.5571, allocations: 1.967 MB / 0.6246 GB, free: 3.031 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.5572, allocations: 4 kB / 0.6246 GB, free: 3.027 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.5576, allocations: 51.69 kB / 0.6247 GB, free: 2.977 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.5595, allocations: 0.6454 MB / 0.6253 GB, free: 2.332 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.5598, allocations: 103.7 kB / 0.6254 GB, free: 2.23 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.5602, allocations: 263 kB / 0.6256 GB, free: 1.973 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.5603, allocations: 4 kB / 0.6256 GB, free: 1.969 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.5606, allocations: 151.4 kB / 0.6258 GB, free: 1.82 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.5608, allocations: 95.64 kB / 0.6259 GB, free: 1.727 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.5608, allocations: 8 kB / 0.6259 GB, free: 1.719 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.5625, allocations: 0.7636 MB / 0.6266 GB, free: 0.9531 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.5626, allocations: 87.77 kB / 0.6267 GB, free: 0.8672 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.5627, allocations: 83.66 kB / 0.6268 GB, free: 0.7852 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.5638, allocations: 0.6541 MB / 0.6274 GB, free: 140 kB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5638, allocations: 4 kB / 0.6274 GB, free: 136 kB / 0.5138 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5638, allocations: 0 / 0.6274 GB, free: 136 kB / 0.5138 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.5638, allocations: 4 kB / 0.6274 GB, free: 132 kB / 0.5138 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.0008971/0.5647, allocations: 437.4 kB / 0.6279 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5648, allocations: 12.03 kB / 0.6279 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.567, allocations: 276.5 kB / 0.6281 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.5675, allocations: 222 kB / 0.6283 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.5675, allocations: 12.33 kB / 0.6284 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.5676, allocations: 19.98 kB / 0.6284 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.5685, allocations: 0.6511 MB / 0.629 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5685, allocations: 4 kB / 0.629 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/0.5686, allocations: 8 kB / 0.629 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.5686, allocations: 8.5 kB / 0.629 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.5696, allocations: 0.5739 MB / 0.6296 GB, free: 13.82 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.002416/0.572, allocations: 0.9098 MB / 0.6305 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.5724, allocations: 237 kB / 0.6307 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.5727, allocations: 189.6 kB / 0.6309 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009852/0.5737, allocations: 151.8 kB / 0.631 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.5737, allocations: 38.56 kB / 0.6311 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.314e-06/0.5737, allocations: 0 / 0.6311 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002377/0.5761, allocations: 0.6096 MB / 0.6317 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.5762, allocations: 81.11 kB / 0.6317 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5763, allocations: 125.8 kB / 0.6319 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.5764, allocations: 33.7 kB / 0.6319 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.5765, allocations: 120.5 kB / 0.632 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.5766, allocations: 107.1 kB / 0.6321 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.5768, allocations: 69.48 kB / 0.6322 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.577, allocations: 326.8 kB / 0.6325 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.5774, allocations: 187.9 kB / 0.6327 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.5779, allocations: 297.5 kB / 0.6329 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009919/0.5789, allocations: 490.6 kB / 0.6334 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.5789, allocations: 4 kB / 0.6334 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001167/0.58, allocations: 0.5206 MB / 0.6339 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5801, allocations: 4 kB / 0.6339 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.5801, allocations: 4 kB / 0.6339 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.5801, allocations: 4 kB / 0.6339 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.5808, allocations: 83.89 kB / 0.634 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.5809, allocations: 11.92 kB / 0.634 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.5813, allocations: 36.08 kB / 0.6341 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.5814, allocations: 20 kB / 0.6341 GB, free: 8.996 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.0002193/0.5816, allocations: 146.4 kB / 0.6342 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5817, allocations: 15.91 kB / 0.6342 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.5829, allocations: 0.4899 MB / 0.6347 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5829, allocations: 7.984 kB / 0.6347 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5829, allocations: 0 / 0.6347 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5829, allocations: 0 / 0.6347 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/0.5836, allocations: 345.9 kB / 0.6351 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.5837, allocations: 7.938 kB / 0.6351 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.5842, allocations: 59.89 kB / 0.6351 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5842, allocations: 4 kB / 0.6351 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.5843, allocations: 15.98 kB / 0.6351 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5843, allocations: 3.938 kB / 0.6351 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5843, allocations: 0 / 0.6351 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.5856, allocations: 0.6923 MB / 0.6358 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.5857, allocations: 15.89 kB / 0.6358 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.5857, allocations: 8 kB / 0.6358 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.5862, allocations: 19.97 kB / 0.6359 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.5863, allocations: 19.97 kB / 0.6359 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.5863, allocations: 15.98 kB / 0.6359 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.298e-05/0.5864, allocations: 107.2 kB / 0.636 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5864, allocations: 0 / 0.636 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007877/0.5872, allocations: 159.6 kB / 0.6362 GB, free: 6.82 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.0009118/0.5881, allocations: 354.7 kB / 0.6365 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000905/0.589, allocations: 412.3 kB / 0.6369 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.589, allocations: 4.062 kB / 0.6369 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.5894, allocations: 207.8 kB / 0.6371 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.5902, allocations: 93.08 kB / 0.6372 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.5918, allocations: 0.8836 MB / 0.638 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.592, allocations: 131.5 kB / 0.6382 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004394/0.5924, allocations: 105.8 kB / 0.6383 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.5925, allocations: 32.48 kB / 0.6383 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.5925, allocations: 0 / 0.6383 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of Templates: time 0.01564/0.6082, allocations: 8.189 MB / 0.6463 GB, free: 12.47 MB / 0.545 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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: 5.619326650979929]