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.001542/0.001542, 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.002058/0.002058, allocations: 208.7 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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.2409/0.2409, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.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.002226/0.002226, allocations: 77.75 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4227, allocations: 65.47 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1993/0.622, allocations: 131.6 MB / 0.686 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.625, allocations: 1.97 MB / 0.6879 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.6251, allocations: 4 kB / 0.6879 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.6255, allocations: 47.62 kB / 0.688 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.6272, allocations: 0.6454 MB / 0.6886 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.6276, allocations: 107.7 kB / 0.6887 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.628, allocations: 263 kB / 0.6889 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.628, allocations: 8 kB / 0.6889 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.6283, allocations: 147.4 kB / 0.6891 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.6286, allocations: 95.64 kB / 0.6892 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.6286, allocations: 8 kB / 0.6892 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.6302, allocations: 0.7637 MB / 0.6899 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.6303, allocations: 87.7 kB / 0.69 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.6304, allocations: 79.72 kB / 0.6901 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.6314, allocations: 0.6531 MB / 0.6907 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6314, allocations: 0 / 0.6907 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6314, allocations: 0 / 0.6907 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.6314, allocations: 0 / 0.6907 GB, free: 14.48 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.0008776/0.6323, allocations: 453.4 kB / 0.6912 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6324, allocations: 12.03 kB / 0.6912 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.6343, allocations: 272.5 kB / 0.6914 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.6349, allocations: 222 kB / 0.6916 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.6349, allocations: 12.33 kB / 0.6917 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.635, allocations: 20 kB / 0.6917 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.6359, allocations: 0.6434 MB / 0.6923 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6359, allocations: 0 / 0.6923 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.636, allocations: 12 kB / 0.6923 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.636, allocations: 8 kB / 0.6923 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.6369, allocations: 0.57 MB / 0.6929 GB, free: 12.18 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.002307/0.6392, allocations: 0.9098 MB / 0.6938 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.6396, allocations: 237 kB / 0.694 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.6399, allocations: 181.6 kB / 0.6942 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008401/0.6408, allocations: 151.8 kB / 0.6943 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.6408, allocations: 46.48 kB / 0.6944 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.6408, allocations: 0 / 0.6944 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002052/0.6428, allocations: 0.5975 MB / 0.6949 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.6429, allocations: 81.05 kB / 0.695 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.643, allocations: 133.8 kB / 0.6951 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.6431, allocations: 29.7 kB / 0.6952 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.6432, allocations: 116.5 kB / 0.6953 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.6433, allocations: 115.1 kB / 0.6954 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.6434, allocations: 65.42 kB / 0.6955 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6436, allocations: 334.8 kB / 0.6958 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.6439, allocations: 183.8 kB / 0.6959 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.6444, allocations: 296.5 kB / 0.6962 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/0.6452, allocations: 0.4923 MB / 0.6967 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6452, allocations: 0 / 0.6967 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009963/0.6462, allocations: 0.5205 MB / 0.6972 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6462, allocations: 11.38 kB / 0.6972 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6462, allocations: 8 kB / 0.6972 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.6463, allocations: 4 kB / 0.6972 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.6468, allocations: 75.89 kB / 0.6973 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6468, allocations: 7.984 kB / 0.6973 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.6472, allocations: 39.77 kB / 0.6974 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.6473, allocations: 16 kB / 0.6974 GB, free: 7.355 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.0001734/0.6475, allocations: 153.6 kB / 0.6975 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.6476, allocations: 15.91 kB / 0.6975 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6486, allocations: 490 kB / 0.698 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6486, allocations: 4 kB / 0.698 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6486, allocations: 4 kB / 0.698 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6486, allocations: 3.984 kB / 0.698 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.6493, allocations: 345.7 kB / 0.6983 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6493, allocations: 3.938 kB / 0.6983 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.6499, allocations: 63.89 kB / 0.6984 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6499, allocations: 0 / 0.6984 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.6499, allocations: 11.98 kB / 0.6984 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6499, allocations: 4 kB / 0.6984 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6499, allocations: 0 / 0.6984 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.6511, allocations: 0.6956 MB / 0.6991 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.6512, allocations: 11.89 kB / 0.6991 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.6512, allocations: 11.94 kB / 0.6991 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.6517, allocations: 19.97 kB / 0.6991 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.6518, allocations: 15.97 kB / 0.6992 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.6518, allocations: 19.98 kB / 0.6992 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.6519, allocations: 99.7 kB / 0.6993 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6519, allocations: 0 / 0.6993 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007022/0.6526, allocations: 167.6 kB / 0.6994 GB, free: 5.184 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.0008373/0.6534, allocations: 363.2 kB / 0.6998 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008469/0.6543, allocations: 411.6 kB / 0.7002 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6543, allocations: 0 / 0.7002 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.6547, allocations: 211.1 kB / 0.7004 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.6554, allocations: 84.16 kB / 0.7005 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.657, allocations: 0.8917 MB / 0.7013 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.6571, allocations: 127.4 kB / 0.7014 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004899/0.6576, allocations: 113.8 kB / 0.7016 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.6578, allocations: 31.42 kB / 0.7016 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of SimCode: time 7.02e-07/0.6578, allocations: 3.938 kB / 0.7016 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of Templates: time 0.015/0.6728, allocations: 8.45 MB / 0.7098 GB, free: 10.56 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 -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/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_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: 6.0667034182697535]