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.002022/0.002022, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.00279/0.00279, allocations: 215.9 kB / 22.99 MB, free: 5.609 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.503/1.503, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.2386/0.2386, allocations: 46.91 MB / 359.4 MB, free: 4.852 MB / 286.1 MB " [Timeout remaining time 179] 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.002846/0.002846, allocations: 75.88 kB / 0.4946 GB, free: 8.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4637, allocations: 65.99 MB / 0.5591 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2202/0.6839, allocations: 153.1 MB / 0.7085 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.6871, allocations: 2.2 MB / 0.7107 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.6872, allocations: 4 kB / 0.7107 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.6876, allocations: 71.58 kB / 0.7108 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.6895, allocations: 0.6298 MB / 0.7114 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.6899, allocations: 106.6 kB / 0.7115 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.6903, allocations: 263 kB / 0.7117 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.188e-05/0.6903, allocations: 4 kB / 0.7117 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.6907, allocations: 143.4 kB / 0.7119 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.6909, allocations: 99.62 kB / 0.712 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.691, allocations: 12 kB / 0.712 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.6927, allocations: 0.8884 MB / 0.7128 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.6928, allocations: 83.81 kB / 0.7129 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.693, allocations: 99.53 kB / 0.713 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.6941, allocations: 0.657 MB / 0.7137 GB, free: 6.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6941, allocations: 0 / 0.7137 GB, free: 6.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6941, allocations: 0 / 0.7137 GB, free: 6.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.6941, allocations: 0 / 0.7137 GB, free: 6.156 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.0008965/0.695, allocations: 0.513 MB / 0.7142 GB, free: 5.598 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.6951, allocations: 12.03 kB / 0.7142 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.6971, allocations: 280.4 kB / 0.7144 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.6975, allocations: 275.9 kB / 0.7147 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.6976, allocations: 12.33 kB / 0.7147 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.6976, allocations: 27.92 kB / 0.7147 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.6985, allocations: 492.7 kB / 0.7152 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6985, allocations: 0 / 0.7152 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.6985, allocations: 4 kB / 0.7152 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.6986, allocations: 12 kB / 0.7152 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.6995, allocations: 0.5778 MB / 0.7158 GB, free: 3.879 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.00244/0.702, allocations: 1.012 MB / 0.7168 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.7024, allocations: 241 kB / 0.717 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.7027, allocations: 185.6 kB / 0.7172 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.7037, allocations: 387.3 kB / 0.7175 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.7037, allocations: 38.56 kB / 0.7176 GB, free: 1.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.504e-06/0.7037, allocations: 0 / 0.7176 GB, free: 1.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001965/0.7057, allocations: 0.5954 MB / 0.7182 GB, free: 1.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.7058, allocations: 85.11 kB / 0.7182 GB, free: 1.188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.7059, allocations: 129.8 kB / 0.7184 GB, free: 1.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.706, allocations: 33.7 kB / 0.7184 GB, free: 1.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.7061, allocations: 112.5 kB / 0.7185 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.7062, allocations: 115 kB / 0.7186 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.7063, allocations: 73.41 kB / 0.7187 GB, free: 0.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.7066, allocations: 326.8 kB / 0.719 GB, free: 388 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.7069, allocations: 187.9 kB / 0.7192 GB, free: 200 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.7074, allocations: 288.6 kB / 0.7195 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.7082, allocations: 498.9 kB / 0.7199 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7082, allocations: 4 kB / 0.7199 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001042/0.7092, allocations: 0.513 MB / 0.7204 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.7092, allocations: 11.98 kB / 0.7205 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7093, allocations: 4.406 kB / 0.7205 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7093, allocations: 8 kB / 0.7205 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.7098, allocations: 79.89 kB / 0.7205 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.7098, allocations: 12 kB / 0.7205 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.7102, allocations: 39.77 kB / 0.7206 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.7102, allocations: 19.98 kB / 0.7206 GB, free: 14.64 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.0002048/0.7105, allocations: 145.7 kB / 0.7207 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7106, allocations: 19.91 kB / 0.7208 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.7116, allocations: 488.4 kB / 0.7212 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.7116, allocations: 3.938 kB / 0.7212 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7116, allocations: 8 kB / 0.7212 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7116, allocations: 0 / 0.7212 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.7124, allocations: 457.8 kB / 0.7217 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7124, allocations: 4 kB / 0.7217 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.7129, allocations: 59.89 kB / 0.7217 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.7129, allocations: 4 kB / 0.7217 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.7129, allocations: 11.98 kB / 0.7218 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7129, allocations: 0 / 0.7218 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7129, allocations: 0 / 0.7218 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.7141, allocations: 0.6917 MB / 0.7224 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.7141, allocations: 96.95 kB / 0.7225 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.7142, allocations: 8 kB / 0.7225 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.7146, allocations: 23.97 kB / 0.7226 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.7147, allocations: 15.97 kB / 0.7226 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.7148, allocations: 19.98 kB / 0.7226 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.812e-05/0.7148, allocations: 99.27 kB / 0.7227 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7148, allocations: 0 / 0.7227 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000731/0.7156, allocations: 167.6 kB / 0.7228 GB, free: 12.25 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.0009601/0.7165, allocations: 350.5 kB / 0.7232 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.7174, allocations: 420.2 kB / 0.7236 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7174, allocations: 0 / 0.7236 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.7177, allocations: 207.8 kB / 0.7238 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.7184, allocations: 96.67 kB / 0.7239 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.7199, allocations: 0.8852 MB / 0.7247 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.7204, allocations: 0.7366 MB / 0.7255 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004632/0.7209, allocations: 113.8 kB / 0.7256 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.721, allocations: 27.44 kB / 0.7256 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.721, allocations: 3.938 kB / 0.7256 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of Templates: time 0.01504/0.7361, allocations: 8.17 MB / 0.7336 GB, free: 1.246 MB / 0.5606 GB " [Timeout remaining time 659] 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/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_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: 6.257310247048736]