Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.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="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.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="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009343/0.0009343, allocations: 200.7 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.6 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007965/0.0007965, allocations: 95.53 kB / 295.1 MB, free: 4.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1977/0.1977, allocations: 44.83 MB / 392 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002471/0.0002471, allocations: 11.98 kB / 464.7 MB, free: 68.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.0934, allocations: 62.96 MB / 0.5153 GB, free: 5.145 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3334/0.4268, allocations: 135.8 MB / 0.648 GB, free: 13.74 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.4293, allocations: 2.03 MB / 0.6499 GB, free: 11.72 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.4294, allocations: 0 / 0.6499 GB, free: 11.72 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.4297, allocations: 39.8 kB / 0.65 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.4309, allocations: 445.8 kB / 0.6504 GB, free: 11.24 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.4312, allocations: 89.12 kB / 0.6505 GB, free: 11.16 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.4316, allocations: 302.9 kB / 0.6508 GB, free: 10.86 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.4316, allocations: 15.98 kB / 0.6508 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.4319, allocations: 115.6 kB / 0.6509 GB, free: 10.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.4321, allocations: 103.7 kB / 0.651 GB, free: 10.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.4321, allocations: 8 kB / 0.651 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.4336, allocations: 0.8697 MB / 0.6519 GB, free: 9.754 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.045e-05/0.4337, allocations: 87.75 kB / 0.6519 GB, free: 9.668 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.4338, allocations: 57.64 kB / 0.652 GB, free: 9.605 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.4344, allocations: 0.4887 MB / 0.6525 GB, free: 9.117 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4344, allocations: 0 / 0.6525 GB, free: 9.117 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4344, allocations: 0 / 0.6525 GB, free: 9.117 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4345, allocations: 0 / 0.6525 GB, free: 9.117 MB / 442.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.0006666/0.4351, allocations: 467.2 kB / 0.6529 GB, free: 8.613 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.4352, allocations: 12.03 kB / 0.6529 GB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/0.4417, allocations: 0.7258 MB / 0.6536 GB, free: 7.875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.4421, allocations: 278.7 kB / 0.6539 GB, free: 7.562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4422, allocations: 20.27 kB / 0.6539 GB, free: 7.543 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4423, allocations: 23.84 kB / 0.654 GB, free: 7.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4436, allocations: 0.7034 MB / 0.6546 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4436, allocations: 0 / 0.6546 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.4437, allocations: 8 kB / 0.6546 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4437, allocations: 8 kB / 0.6547 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.4456, allocations: 0.9173 MB / 0.6556 GB, free: 5.871 MB / 442.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.004529/0.4501, allocations: 1.989 MB / 0.6575 GB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.4512, allocations: 0.5087 MB / 0.658 GB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006418/0.4519, allocations: 321.6 kB / 0.6583 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008455/0.4528, allocations: 375.6 kB / 0.6587 GB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4528, allocations: 46.45 kB / 0.6587 GB, free: 2.375 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/0.4528, allocations: 3.984 kB / 0.6587 GB, free: 2.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002044/0.4549, allocations: 0.8916 MB / 0.6596 GB, free: 1.473 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4549, allocations: 85.09 kB / 0.6597 GB, free: 1.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.455, allocations: 129.8 kB / 0.6598 GB, free: 1.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.4551, allocations: 33.7 kB / 0.6598 GB, free: 1.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.4552, allocations: 112.4 kB / 0.6599 GB, free: 1.082 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4553, allocations: 106.5 kB / 0.66 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.4553, allocations: 4 kB / 0.66 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4554, allocations: 326.8 kB / 0.6603 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.4561, allocations: 295.6 kB / 0.6606 GB, free: 364 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.4568, allocations: 413.4 kB / 0.661 GB, free: 15.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.4574, allocations: 330.6 kB / 0.6613 GB, free: 15.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4574, allocations: 0 / 0.6613 GB, free: 15.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001518/0.459, allocations: 0.7315 MB / 0.662 GB, free: 14.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.459, allocations: 8 kB / 0.662 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.459, allocations: 7.984 kB / 0.6621 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.459, allocations: 4 kB / 0.6621 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/0.46, allocations: 99.8 kB / 0.6622 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.46, allocations: 11.98 kB / 0.6622 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008035/0.4608, allocations: 47.88 kB / 0.6622 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.4609, allocations: 27.86 kB / 0.6622 GB, free: 14.65 MB / 458.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.0001894/0.4611, allocations: 149.6 kB / 0.6624 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4612, allocations: 15.86 kB / 0.6624 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.4631, allocations: 0.7827 MB / 0.6632 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4631, allocations: 11.92 kB / 0.6632 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4631, allocations: 3.953 kB / 0.6632 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4631, allocations: 0 / 0.6632 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009407/0.464, allocations: 0.7908 MB / 0.6639 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4641, allocations: 4 kB / 0.664 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009188/0.465, allocations: 75.92 kB / 0.664 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.465, allocations: 7.953 kB / 0.664 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.4651, allocations: 15.97 kB / 0.664 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4651, allocations: 7.938 kB / 0.6641 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4651, allocations: 0 / 0.6641 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4669, allocations: 0.9498 MB / 0.665 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.467, allocations: 92.86 kB / 0.6651 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.4671, allocations: 15.94 kB / 0.6651 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.468, allocations: 39.95 kB / 0.6651 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.468, allocations: 15.98 kB / 0.6651 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.4681, allocations: 19.97 kB / 0.6652 GB, free: 11.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.4682, allocations: 99.27 kB / 0.6653 GB, free: 11.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4682, allocations: 0 / 0.6653 GB, free: 11.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006621/0.4688, allocations: 187.8 kB / 0.6654 GB, free: 11.23 MB / 458.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.0007529/0.4696, allocations: 295 kB / 0.6657 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.471, allocations: 0.6548 MB / 0.6664 GB, free: 10.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.471, allocations: 0 / 0.6664 GB, free: 10.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.4716, allocations: 327.7 kB / 0.6667 GB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.4723, allocations: 98.78 kB / 0.6668 GB, free: 9.867 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.474, allocations: 1.154 MB / 0.6679 GB, free: 8.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4743, allocations: 0.7484 MB / 0.6686 GB, free: 7.902 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.4747, allocations: 43.39 kB / 0.6687 GB, free: 7.859 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4747, allocations: 0 / 0.6687 GB, free: 7.859 MB / 458.7 MB Notification: Performance of Templates: time 0.01211/0.4868, allocations: 9.97 MB / 0.6784 GB, free: 13.82 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches