Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002828/0.002827, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.498/3.498, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002007/0.002007, allocations: 90.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006453, allocations: 20 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1465, allocations: 47.57 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.7232/0.8698, allocations: 125.8 MB / 0.4886 GB, free: 15.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.8758, allocations: 1.716 MB / 0.4903 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.876, allocations: 4 kB / 0.4903 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.8794, allocations: 43.84 kB / 0.4903 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.8827, allocations: 434.7 kB / 0.4907 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.8834, allocations: 92.64 kB / 0.4908 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.884, allocations: 159.7 kB / 0.491 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.8842, allocations: 4 kB / 0.491 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000865/0.8851, allocations: 167.5 kB / 0.4911 GB, free: 13.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.8854, allocations: 75.75 kB / 0.4912 GB, free: 13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.8855, allocations: 8 kB / 0.4912 GB, free: 12.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.8903, allocations: 0.7101 MB / 0.4919 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.8906, allocations: 75.83 kB / 0.492 GB, free: 12.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.8908, allocations: 57.64 kB / 0.492 GB, free: 12.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.893, allocations: 455.6 kB / 0.4925 GB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.893, allocations: 0 / 0.4925 GB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.8931, allocations: 0 / 0.4925 GB, free: 11.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.8931, allocations: 0 / 0.4925 GB, free: 11.7 MB / 378.7 MB 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.001444/0.8945, allocations: 463.9 kB / 0.4929 GB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.8946, allocations: 12.02 kB / 0.4929 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/0.8998, allocations: 255.5 kB / 0.4932 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.9013, allocations: 254.7 kB / 0.4934 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.9014, allocations: 16.27 kB / 0.4934 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.9016, allocations: 20 kB / 0.4934 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.9037, allocations: 0.4966 MB / 0.4939 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.9038, allocations: 0 / 0.4939 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.9039, allocations: 12 kB / 0.4939 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.594e-05/0.904, allocations: 12.44 kB / 0.494 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.9066, allocations: 0.5856 MB / 0.4945 GB, free: 9.496 MB / 378.7 MB 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.00711/0.9138, allocations: 1.011 MB / 0.4955 GB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.9149, allocations: 241.1 kB / 0.4957 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/0.917, allocations: 266.1 kB / 0.496 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/0.9171, allocations: 47.36 kB / 0.496 GB, free: 7.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 5.841e-06/0.9171, allocations: 0 / 0.496 GB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.005556/0.9227, allocations: 0.5919 MB / 0.4966 GB, free: 7.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.321e-05/0.9229, allocations: 81.11 kB / 0.4967 GB, free: 7.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.9232, allocations: 131.8 kB / 0.4968 GB, free: 6.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.9233, allocations: 33.7 kB / 0.4969 GB, free: 6.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.9235, allocations: 186.7 kB / 0.497 GB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.9238, allocations: 110.6 kB / 0.4971 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.9239, allocations: 8 kB / 0.4971 GB, free: 6.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.9241, allocations: 326.8 kB / 0.4975 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.9259, allocations: 187.7 kB / 0.4976 GB, free: 6.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.9271, allocations: 284.5 kB / 0.4979 GB, free: 5.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.9283, allocations: 216.3 kB / 0.4981 GB, free: 5.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.9283, allocations: 0 / 0.4981 GB, free: 5.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002906/0.9312, allocations: 0.5165 MB / 0.4986 GB, free: 5.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.9314, allocations: 11.98 kB / 0.4986 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.9314, allocations: 4.406 kB / 0.4986 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-05/0.9315, allocations: 8 kB / 0.4986 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.9331, allocations: 83.83 kB / 0.4987 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/0.9332, allocations: 8 kB / 0.4987 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.9346, allocations: 39.75 kB / 0.4988 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.9348, allocations: 15.95 kB / 0.4988 GB, free: 4.91 MB / 378.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004308/0.9352, allocations: 153.7 kB / 0.4989 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.9355, allocations: 20.62 kB / 0.4989 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.9385, allocations: 498 kB / 0.4994 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.9385, allocations: 4 kB / 0.4994 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.9386, allocations: 0 / 0.4994 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.9386, allocations: 0 / 0.4994 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.9408, allocations: 465.8 kB / 0.4999 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.9409, allocations: 0 / 0.4999 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.9425, allocations: 59.89 kB / 0.4999 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/0.9426, allocations: 0 / 0.4999 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.9428, allocations: 11.98 kB / 0.4999 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.9428, allocations: 11.94 kB / 0.5 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.9428, allocations: 3.938 kB / 0.5 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.9461, allocations: 0.6939 MB / 0.5006 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.9464, allocations: 92.86 kB / 0.5007 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.9465, allocations: 12 kB / 0.5007 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.9482, allocations: 27.95 kB / 0.5008 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.9484, allocations: 23.92 kB / 0.5008 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.9486, allocations: 15.98 kB / 0.5008 GB, free: 2.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.9488, allocations: 99.7 kB / 0.5009 GB, free: 2.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.021e-06/0.9488, allocations: 0 / 0.5009 GB, free: 2.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001706/0.9506, allocations: 151.9 kB / 0.501 GB, free: 2.496 MB / 378.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002103/0.9528, allocations: 295.3 kB / 0.5013 GB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.9552, allocations: 444.3 kB / 0.5017 GB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.9553, allocations: 0 / 0.5017 GB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.9564, allocations: 208.1 kB / 0.5019 GB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.9582, allocations: 96.23 kB / 0.502 GB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.9624, allocations: 1.097 MB / 0.5031 GB, free: 348 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.9632, allocations: 0.7446 MB / 0.5038 GB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/0.9638, allocations: 31.42 kB / 0.5039 GB, free: 15.54 MB / 394.7 MB Notification: Performance of SimCode: time 2.104e-06/0.9639, allocations: 4 kB / 0.5039 GB, free: 15.54 MB / 394.7 MB Notification: Performance of Templates: time 0.02962/0.9935, allocations: 6.69 MB / 0.5104 GB, free: 8.844 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches