Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001418/0.001418, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001674/0.001674, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.49/1.49, allocations: 230.3 MB / 258 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2347/0.2347, allocations: 46.94 MB / 361.4 MB, free: 4.355 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 84.09 kB / 0.4971 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3707, allocations: 66.04 MB / 0.5616 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1974/0.568, allocations: 153.1 MB / 0.7111 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003307/0.5713, allocations: 2.204 MB / 0.7133 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.5715, allocations: 4 kB / 0.7133 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.5719, allocations: 59.64 kB / 0.7133 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.574, allocations: 0.6376 MB / 0.714 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.5744, allocations: 115.2 kB / 0.7141 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.5749, allocations: 267 kB / 0.7143 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.602e-05/0.5749, allocations: 3.984 kB / 0.7143 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.5754, allocations: 151.4 kB / 0.7145 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.5756, allocations: 91.7 kB / 0.7146 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.5757, allocations: 8 kB / 0.7146 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.5776, allocations: 0.8923 MB / 0.7154 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.5778, allocations: 91.75 kB / 0.7155 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.5779, allocations: 95.59 kB / 0.7156 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5794, allocations: 0.6611 MB / 0.7163 GB, free: 5.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5794, allocations: 0 / 0.7163 GB, free: 5.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5794, allocations: 0 / 0.7163 GB, free: 5.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.5795, allocations: 0 / 0.7163 GB, free: 5.543 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.001008/0.5805, allocations: 449.4 kB / 0.7167 GB, free: 5.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5805, allocations: 8.031 kB / 0.7167 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.5826, allocations: 276.5 kB / 0.717 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.5832, allocations: 222 kB / 0.7172 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.5832, allocations: 20.27 kB / 0.7172 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5833, allocations: 19.94 kB / 0.7172 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.5842, allocations: 496.7 kB / 0.7177 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5842, allocations: 0 / 0.7177 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.5842, allocations: 4 kB / 0.7177 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.5843, allocations: 15.98 kB / 0.7177 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.5852, allocations: 0.5855 MB / 0.7183 GB, free: 3.414 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.002508/0.5877, allocations: 0.991 MB / 0.7192 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.5882, allocations: 233.1 kB / 0.7195 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.5885, allocations: 181.6 kB / 0.7196 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009032/0.5894, allocations: 147.8 kB / 0.7198 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.5894, allocations: 42.56 kB / 0.7198 GB, free: 1.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.5894, allocations: 0 / 0.7198 GB, free: 1.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002046/0.5914, allocations: 0.6018 MB / 0.7204 GB, free: 1.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.5915, allocations: 81.11 kB / 0.7205 GB, free: 1.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.5916, allocations: 125.8 kB / 0.7206 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.5917, allocations: 41.64 kB / 0.7206 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.5918, allocations: 116.5 kB / 0.7208 GB, free: 0.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.5919, allocations: 111 kB / 0.7209 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.5921, allocations: 73.47 kB / 0.7209 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5922, allocations: 322.8 kB / 0.7212 GB, free: 244 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.5926, allocations: 183.9 kB / 0.7214 GB, free: 60 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.593, allocations: 296.5 kB / 0.7217 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.5939, allocations: 492.5 kB / 0.7222 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.5939, allocations: 4 kB / 0.7222 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001086/0.595, allocations: 0.5188 MB / 0.7227 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.595, allocations: 10.34 kB / 0.7227 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.595, allocations: 4 kB / 0.7227 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.595, allocations: 4 kB / 0.7227 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.5956, allocations: 79.89 kB / 0.7228 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.5956, allocations: 8.344 kB / 0.7228 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.596, allocations: 39.77 kB / 0.7228 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.596, allocations: 23.98 kB / 0.7228 GB, free: 14.5 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.0001988/0.5962, allocations: 141.7 kB / 0.723 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.5964, allocations: 19.91 kB / 0.723 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.5974, allocations: 494.4 kB / 0.7235 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5974, allocations: 0 / 0.7235 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5974, allocations: 4 kB / 0.7235 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5974, allocations: 3.984 kB / 0.7235 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008056/0.5982, allocations: 428.9 kB / 0.7239 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5982, allocations: 7.984 kB / 0.7239 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.5988, allocations: 55.91 kB / 0.7239 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.5988, allocations: 4 kB / 0.7239 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.5988, allocations: 15.92 kB / 0.724 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5988, allocations: 0 / 0.724 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5988, allocations: 4 kB / 0.724 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.6, allocations: 0.6878 MB / 0.7246 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.6, allocations: 19.84 kB / 0.7247 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.6001, allocations: 11.98 kB / 0.7247 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.6006, allocations: 15.98 kB / 0.7247 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.6006, allocations: 19.97 kB / 0.7247 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.6007, allocations: 11.98 kB / 0.7247 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.558e-05/0.6008, allocations: 103.7 kB / 0.7248 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6008, allocations: 4 kB / 0.7248 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007231/0.6015, allocations: 167.6 kB / 0.725 GB, free: 12.24 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.001041/0.6025, allocations: 347 kB / 0.7253 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000904/0.6034, allocations: 418.7 kB / 0.7257 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.6034, allocations: 4.812 kB / 0.7257 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.6038, allocations: 211.8 kB / 0.7259 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.6045, allocations: 100.3 kB / 0.726 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.6062, allocations: 0.8722 MB / 0.7269 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.6067, allocations: 0.7521 MB / 0.7276 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004799/0.6071, allocations: 105.8 kB / 0.7277 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6073, allocations: 27.44 kB / 0.7277 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.6073, allocations: 4 kB / 0.7277 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of Templates: time 0.01573/0.623, allocations: 8.258 MB / 0.7358 GB, free: 1.141 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.949871227145195]