Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001696/0.001696, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002059/0.002059, allocations: 209.2 kB / 24.48 MB, free: 3.941 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.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2848, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1673/0.4521, allocations: 131.6 MB / 0.6903 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.4547, allocations: 1.967 MB / 0.6923 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.4548, allocations: 4 kB / 0.6923 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.4551, allocations: 47.73 kB / 0.6923 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4566, allocations: 0.6453 MB / 0.6929 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.4569, allocations: 111.5 kB / 0.6931 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000321/0.4573, allocations: 259 kB / 0.6933 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.4573, allocations: 7.984 kB / 0.6933 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.4576, allocations: 155.3 kB / 0.6935 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.4578, allocations: 99.69 kB / 0.6936 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.4578, allocations: 8 kB / 0.6936 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.4592, allocations: 0.7715 MB / 0.6943 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.4593, allocations: 95.69 kB / 0.6944 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.4594, allocations: 79.72 kB / 0.6945 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.4603, allocations: 0.6453 MB / 0.6951 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4603, allocations: 4 kB / 0.6951 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4603, allocations: 0 / 0.6951 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4603, allocations: 7.938 kB / 0.6951 GB, free: 11.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.0007845/0.4611, allocations: 441.4 kB / 0.6955 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4611, allocations: 12.03 kB / 0.6956 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.4633, allocations: 272.5 kB / 0.6958 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.4637, allocations: 225.9 kB / 0.696 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4637, allocations: 16.31 kB / 0.696 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.4638, allocations: 23.98 kB / 0.6961 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.4648, allocations: 0.6357 MB / 0.6967 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4648, allocations: 4 kB / 0.6967 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-05/0.4648, allocations: 8 kB / 0.6967 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.4649, allocations: 12 kB / 0.6967 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.4658, allocations: 0.5738 MB / 0.6973 GB, free: 8.809 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.002289/0.4681, allocations: 0.9059 MB / 0.6982 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.4685, allocations: 241 kB / 0.6984 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4687, allocations: 181.6 kB / 0.6986 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009292/0.4697, allocations: 156 kB / 0.6987 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.4697, allocations: 34.56 kB / 0.6987 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.774e-06/0.4697, allocations: 0 / 0.6987 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002038/0.4717, allocations: 0.6059 MB / 0.6993 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.4718, allocations: 77.11 kB / 0.6994 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.472, allocations: 129.8 kB / 0.6995 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.472, allocations: 29.7 kB / 0.6996 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.4721, allocations: 120.5 kB / 0.6997 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4722, allocations: 115 kB / 0.6998 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.4723, allocations: 65.47 kB / 0.6998 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4725, allocations: 330.8 kB / 0.7002 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.4728, allocations: 183.9 kB / 0.7003 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.4733, allocations: 292.5 kB / 0.7006 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/0.4741, allocations: 488.6 kB / 0.7011 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4741, allocations: 0 / 0.7011 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001024/0.4751, allocations: 0.5222 MB / 0.7016 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4752, allocations: 8 kB / 0.7016 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4752, allocations: 4 kB / 0.7016 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.4752, allocations: 4 kB / 0.7016 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.4758, allocations: 83.81 kB / 0.7017 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4758, allocations: 4 kB / 0.7017 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.4762, allocations: 39.77 kB / 0.7017 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.4762, allocations: 20.31 kB / 0.7017 GB, free: 4 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.0001793/0.4764, allocations: 153.6 kB / 0.7019 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4765, allocations: 15.91 kB / 0.7019 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.4775, allocations: 0.497 MB / 0.7024 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.4776, allocations: 7.938 kB / 0.7024 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4776, allocations: 0 / 0.7024 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4776, allocations: 0 / 0.7024 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.4783, allocations: 345.8 kB / 0.7027 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4783, allocations: 7.922 kB / 0.7027 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.4788, allocations: 55.97 kB / 0.7028 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4788, allocations: 0 / 0.7028 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.4788, allocations: 15.98 kB / 0.7028 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4788, allocations: 4 kB / 0.7028 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4788, allocations: 0 / 0.7028 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.48, allocations: 0.6956 MB / 0.7035 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.4801, allocations: 11.89 kB / 0.7035 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.4801, allocations: 15.98 kB / 0.7035 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.4807, allocations: 19.98 kB / 0.7035 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.4807, allocations: 11.97 kB / 0.7035 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.4808, allocations: 23.98 kB / 0.7036 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.918e-05/0.4808, allocations: 99.25 kB / 0.7037 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4808, allocations: 0 / 0.7037 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007052/0.4815, allocations: 171.6 kB / 0.7038 GB, free: 1.809 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.0008331/0.4824, allocations: 334.7 kB / 0.7041 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008327/0.4832, allocations: 420.1 kB / 0.7045 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4832, allocations: 4.25 kB / 0.7046 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.4836, allocations: 207.8 kB / 0.7048 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.4843, allocations: 104.3 kB / 0.7049 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.4858, allocations: 0.8798 MB / 0.7057 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.486, allocations: 131.4 kB / 0.7058 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004659/0.4864, allocations: 105.8 kB / 0.7059 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.4866, allocations: 31.44 kB / 0.706 GB, free: 15.55 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4866, allocations: 0 / 0.706 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Templates: time 0.01464/0.5012, allocations: 8.544 MB / 0.7143 GB, free: 7.105 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.340187400986906]