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.001565/0.001565, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001821/0.001821, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2533/0.2533, allocations: 46.94 MB / 360.9 MB, free: 4.121 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+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.002183/0.002183, allocations: 63.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4209, allocations: 66.03 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1947/0.6156, allocations: 131.6 MB / 0.6896 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.6188, allocations: 1.966 MB / 0.6915 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.6189, allocations: 7.875 kB / 0.6915 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.6193, allocations: 55.73 kB / 0.6916 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.6214, allocations: 0.6414 MB / 0.6922 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.6218, allocations: 107.8 kB / 0.6923 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.6222, allocations: 263 kB / 0.6926 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.158e-05/0.6223, allocations: 7.984 kB / 0.6926 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.6227, allocations: 147.4 kB / 0.6927 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.623, allocations: 87.7 kB / 0.6928 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.623, allocations: 8 kB / 0.6928 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.6249, allocations: 0.7636 MB / 0.6936 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.6251, allocations: 91.75 kB / 0.6936 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.6252, allocations: 87.64 kB / 0.6937 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.6267, allocations: 0.6492 MB / 0.6944 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6267, allocations: 4 kB / 0.6944 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6267, allocations: 0 / 0.6944 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6267, allocations: 0 / 0.6944 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.001099/0.6278, allocations: 441.4 kB / 0.6948 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.6279, allocations: 8.031 kB / 0.6948 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.63, allocations: 280.5 kB / 0.6951 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.6306, allocations: 222 kB / 0.6953 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.6306, allocations: 12.33 kB / 0.6953 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.6307, allocations: 19.98 kB / 0.6953 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.6317, allocations: 0.6395 MB / 0.6959 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6317, allocations: 4 kB / 0.6959 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.6318, allocations: 8 kB / 0.6959 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.6318, allocations: 8 kB / 0.6959 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009802/0.6328, allocations: 0.5739 MB / 0.6965 GB, free: 8.816 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.002421/0.6352, allocations: 0.906 MB / 0.6974 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.6357, allocations: 241 kB / 0.6976 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.6359, allocations: 189.6 kB / 0.6978 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009096/0.6369, allocations: 148 kB / 0.6979 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.6369, allocations: 38.56 kB / 0.698 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.6369, allocations: 0 / 0.698 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002172/0.6391, allocations: 0.6056 MB / 0.6986 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.6392, allocations: 81.11 kB / 0.6986 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.6393, allocations: 125.8 kB / 0.6988 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.6394, allocations: 33.7 kB / 0.6988 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.6395, allocations: 116.5 kB / 0.6989 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6396, allocations: 115 kB / 0.699 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.6397, allocations: 69.47 kB / 0.6991 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6399, allocations: 326.8 kB / 0.6994 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.6403, allocations: 187.9 kB / 0.6996 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.6407, allocations: 296.5 kB / 0.6999 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/0.6416, allocations: 488.6 kB / 0.7003 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6416, allocations: 0 / 0.7003 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001054/0.6427, allocations: 0.5222 MB / 0.7008 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6427, allocations: 7.984 kB / 0.7008 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6427, allocations: 4 kB / 0.7008 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.6427, allocations: 11.94 kB / 0.7009 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.6433, allocations: 79.89 kB / 0.7009 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.6433, allocations: 7.938 kB / 0.7009 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.6437, allocations: 36.11 kB / 0.701 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.6438, allocations: 24 kB / 0.701 GB, free: 3.988 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.0002067/0.644, allocations: 141.7 kB / 0.7011 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6441, allocations: 23.89 kB / 0.7012 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.6452, allocations: 490.4 kB / 0.7016 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.6452, allocations: 4 kB / 0.7016 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6452, allocations: 0 / 0.7016 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6452, allocations: 4 kB / 0.7016 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.6459, allocations: 349.6 kB / 0.702 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6459, allocations: 3.938 kB / 0.702 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.6464, allocations: 55.91 kB / 0.702 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.6464, allocations: 11.98 kB / 0.702 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.6465, allocations: 8 kB / 0.702 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6465, allocations: 0 / 0.702 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6465, allocations: 8.078 kB / 0.702 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.6478, allocations: 0.6924 MB / 0.7027 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.6479, allocations: 15.89 kB / 0.7027 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.6479, allocations: 11.98 kB / 0.7028 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.6484, allocations: 15.98 kB / 0.7028 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.6485, allocations: 23.95 kB / 0.7028 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.6485, allocations: 19.98 kB / 0.7028 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.379e-05/0.6486, allocations: 103.6 kB / 0.7029 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6486, allocations: 0 / 0.7029 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007741/0.6494, allocations: 167.6 kB / 0.7031 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.00108/0.6505, allocations: 351 kB / 0.7034 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009051/0.6514, allocations: 410.7 kB / 0.7038 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6514, allocations: 4.125 kB / 0.7038 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.6518, allocations: 207.8 kB / 0.704 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.6526, allocations: 92.23 kB / 0.7041 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.6544, allocations: 0.8799 MB / 0.7049 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.6546, allocations: 131.4 kB / 0.7051 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004941/0.655, allocations: 113.7 kB / 0.7052 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.6552, allocations: 31.44 kB / 0.7052 GB, free: 15.55 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6552, allocations: 0 / 0.7052 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Templates: time 0.01678/0.672, allocations: 8.454 MB / 0.7135 GB, free: 7.199 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 -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/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_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.96662506647408]