Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009594/0.0009597, allocations: 106.2 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3731/0.3731, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4301, allocations: 62.02 MB / 0.5151 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2393/0.6695, allocations: 147.5 MB / 0.6592 GB, free: 5.555 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.6739, allocations: 2.265 MB / 0.6614 GB, free: 3.285 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.6741, allocations: 0 / 0.6614 GB, free: 3.285 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.6747, allocations: 47.78 kB / 0.6615 GB, free: 3.238 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.6775, allocations: 0.5757 MB / 0.662 GB, free: 2.66 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.6781, allocations: 95.81 kB / 0.6621 GB, free: 2.566 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007692/0.6789, allocations: 370.9 kB / 0.6625 GB, free: 2.203 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.679, allocations: 7.984 kB / 0.6625 GB, free: 2.195 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.6794, allocations: 129.6 kB / 0.6626 GB, free: 2.07 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.6798, allocations: 107.6 kB / 0.6627 GB, free: 1.965 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.6799, allocations: 4 kB / 0.6627 GB, free: 1.961 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.6828, allocations: 1.224 MB / 0.6639 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.683, allocations: 75.81 kB / 0.664 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.6833, allocations: 99.58 kB / 0.6641 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.6852, allocations: 0.7675 MB / 0.6648 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6852, allocations: 4 kB / 0.6648 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.6853, allocations: 3.984 kB / 0.6648 GB, free: 15.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.6853, allocations: 0 / 0.6648 GB, free: 15.79 MB / 490.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.001132/0.6864, allocations: 0.4955 MB / 0.6653 GB, free: 15.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.6865, allocations: 12.03 kB / 0.6653 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.6975, allocations: 0.7457 MB / 0.6661 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.6984, allocations: 287.7 kB / 0.6663 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.6984, allocations: 12.33 kB / 0.6664 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.6986, allocations: 20 kB / 0.6664 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.7008, allocations: 0.7069 MB / 0.6671 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7008, allocations: 0 / 0.6671 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.7009, allocations: 4 kB / 0.6671 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.701, allocations: 15.98 kB / 0.6671 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.704, allocations: 0.9173 MB / 0.668 GB, free: 12.48 MB / 490.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.008012/0.712, allocations: 2.004 MB / 0.6699 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.714, allocations: 0.5048 MB / 0.6704 GB, free: 9.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.7151, allocations: 317.6 kB / 0.6707 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.7164, allocations: 383.3 kB / 0.6711 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.7164, allocations: 38.56 kB / 0.6711 GB, free: 8.977 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.496e-06/0.7165, allocations: 4 kB / 0.6711 GB, free: 8.973 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.003522/0.72, allocations: 0.8858 MB / 0.672 GB, free: 8.082 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.7201, allocations: 85.11 kB / 0.6721 GB, free: 7.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.7203, allocations: 125.8 kB / 0.6722 GB, free: 7.848 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.15e-05/0.7204, allocations: 33.7 kB / 0.6722 GB, free: 7.809 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.7205, allocations: 116.3 kB / 0.6723 GB, free: 7.691 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.7207, allocations: 102.5 kB / 0.6724 GB, free: 7.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.721, allocations: 73.58 kB / 0.6725 GB, free: 7.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7212, allocations: 334.7 kB / 0.6728 GB, free: 7.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.7222, allocations: 303.6 kB / 0.6731 GB, free: 6.879 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.7234, allocations: 405.5 kB / 0.6735 GB, free: 6.438 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.7256, allocations: 0.6979 MB / 0.6742 GB, free: 5.695 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.7256, allocations: 0 / 0.6742 GB, free: 5.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002731/0.7284, allocations: 0.7391 MB / 0.6749 GB, free: 4.949 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.7284, allocations: 8 kB / 0.6749 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7284, allocations: 416 / 0.6749 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.7285, allocations: 12 kB / 0.6749 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.7302, allocations: 99.78 kB / 0.675 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.7302, allocations: 4 kB / 0.675 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.7316, allocations: 51.75 kB / 0.6751 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.7317, allocations: 19.98 kB / 0.6751 GB, free: 4.758 MB / 490.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.7321, allocations: 153.6 kB / 0.6752 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.7323, allocations: 23.8 kB / 0.6753 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.7355, allocations: 0.7737 MB / 0.676 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7355, allocations: 8 kB / 0.676 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7356, allocations: 0 / 0.676 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7356, allocations: 4 kB / 0.676 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.7372, allocations: 0.8134 MB / 0.6768 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.7372, allocations: 4 kB / 0.6768 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.7388, allocations: 71.91 kB / 0.6769 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.7388, allocations: 4 kB / 0.6769 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.744e-05/0.7389, allocations: 11.98 kB / 0.6769 GB, free: 2.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.7389, allocations: 7.938 kB / 0.6769 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.739, allocations: 4 kB / 0.6769 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/0.7446, allocations: 2.323 MB / 0.6792 GB, free: 312 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.7447, allocations: 88.95 kB / 0.6793 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.7448, allocations: 11.98 kB / 0.6793 GB, free: 192 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7462, allocations: 35.86 kB / 0.6793 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.7463, allocations: 23.92 kB / 0.6793 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.7464, allocations: 19.97 kB / 0.6794 GB, free: 112 kB / 490.7 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.7465, allocations: 103.3 kB / 0.6795 GB, free: 8 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7465, allocations: 0 / 0.6795 GB, free: 8 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.3238/1.07, allocations: 203.3 kB / 0.6797 GB, free: 145.8 MB / 490.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 (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.001112/1.071, allocations: 348.8 kB / 0.68 GB, free: 145.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/1.073, allocations: 0.6548 MB / 0.6806 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.073, allocations: 1.031 kB / 0.6806 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007282/1.074, allocations: 331.9 kB / 0.681 GB, free: 145.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/1.075, allocations: 102.6 kB / 0.681 GB, free: 145.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/1.077, allocations: 1.206 MB / 0.6822 GB, free: 144.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/1.077, allocations: 0.7427 MB / 0.683 GB, free: 144.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001255/1.078, allocations: 183.7 kB / 0.6831 GB, free: 144 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/1.079, allocations: 42.73 kB / 0.6832 GB, free: 144 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.079, allocations: 2.938 kB / 0.6832 GB, free: 144 MB / 490.7 MB Notification: Performance of Templates: time 0.01724/1.096, allocations: 10.46 MB / 0.6934 GB, free: 143.3 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches