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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 118.7 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 46.1 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 75.81 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4394, allocations: 62.43 MB / 0.531 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2001/0.6395, allocations: 152.6 MB / 0.68 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.6426, allocations: 2.192 MB / 0.6821 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.6428, allocations: 0 / 0.6821 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.6432, allocations: 55.72 kB / 0.6822 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.6454, allocations: 0.626 MB / 0.6828 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.6458, allocations: 114.9 kB / 0.6829 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.6462, allocations: 255.1 kB / 0.6831 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.768e-05/0.6463, allocations: 11.97 kB / 0.6831 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.6467, allocations: 155.1 kB / 0.6833 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.6469, allocations: 91.7 kB / 0.6834 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.647, allocations: 8 kB / 0.6834 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.6489, allocations: 0.8456 MB / 0.6842 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.649, allocations: 91.75 kB / 0.6843 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.6492, allocations: 99.58 kB / 0.6844 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.6508, allocations: 0.6552 MB / 0.685 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.6508, allocations: 0 / 0.685 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.036e-06/0.6508, allocations: 4 kB / 0.685 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.6508, allocations: 0 / 0.685 GB, free: 3.348 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.001296/0.6521, allocations: 0.5102 MB / 0.6855 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/0.6522, allocations: 8.031 kB / 0.6855 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.6542, allocations: 280.5 kB / 0.6858 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.6546, allocations: 291.8 kB / 0.6861 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.6547, allocations: 12.33 kB / 0.6861 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.6547, allocations: 16 kB / 0.6861 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.6556, allocations: 0.4977 MB / 0.6866 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6556, allocations: 0 / 0.6866 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.6557, allocations: 8 kB / 0.6866 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.6557, allocations: 11.98 kB / 0.6866 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008633/0.6566, allocations: 0.5739 MB / 0.6872 GB, free: 1.055 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.002175/0.6588, allocations: 1.013 MB / 0.6882 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.6592, allocations: 241 kB / 0.6884 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.6594, allocations: 183.9 kB / 0.6886 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009137/0.6603, allocations: 383.2 kB / 0.6889 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6604, allocations: 38.5 kB / 0.689 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.382e-06/0.6604, allocations: 4 kB / 0.689 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001892/0.6623, allocations: 0.5915 MB / 0.6896 GB, free: 14.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.6624, allocations: 81.11 kB / 0.6896 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.6625, allocations: 129.8 kB / 0.6898 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.6625, allocations: 33.7 kB / 0.6898 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.6626, allocations: 116.7 kB / 0.6899 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.6627, allocations: 115 kB / 0.69 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.6629, allocations: 69.47 kB / 0.6901 GB, free: 13.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.663, allocations: 326.8 kB / 0.6904 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.6634, allocations: 183.9 kB / 0.6906 GB, free: 13.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.6638, allocations: 292.5 kB / 0.6908 GB, free: 13.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.6646, allocations: 495.2 kB / 0.6913 GB, free: 12.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6646, allocations: 0 / 0.6913 GB, free: 12.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000964/0.6655, allocations: 0.5211 MB / 0.6918 GB, free: 12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6656, allocations: 8 kB / 0.6918 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6656, allocations: 4 kB / 0.6918 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.6656, allocations: 4 kB / 0.6918 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.6661, allocations: 79.89 kB / 0.6919 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.6662, allocations: 15.89 kB / 0.6919 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.6665, allocations: 35.77 kB / 0.692 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.6666, allocations: 27.97 kB / 0.692 GB, free: 11.83 MB / 0.545 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.000182/0.6668, allocations: 153.9 kB / 0.6921 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6669, allocations: 15.91 kB / 0.6922 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009603/0.6679, allocations: 489 kB / 0.6926 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.6679, allocations: 4 kB / 0.6926 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6679, allocations: 4 kB / 0.6926 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6679, allocations: 3.984 kB / 0.6926 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.6687, allocations: 457.8 kB / 0.6931 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6687, allocations: 4 kB / 0.6931 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.6692, allocations: 55.89 kB / 0.6931 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.6692, allocations: 4 kB / 0.6931 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.6692, allocations: 15.98 kB / 0.6931 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6693, allocations: 0 / 0.6931 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6693, allocations: 4 kB / 0.6932 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6703, allocations: 0.6878 MB / 0.6938 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.6704, allocations: 96.95 kB / 0.6939 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.6705, allocations: 11.98 kB / 0.6939 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.6709, allocations: 19.98 kB / 0.6939 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.671, allocations: 19.97 kB / 0.694 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.671, allocations: 11.98 kB / 0.694 GB, free: 9.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.6711, allocations: 107.2 kB / 0.6941 GB, free: 9.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6711, allocations: 0 / 0.6941 GB, free: 9.594 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000732/0.6719, allocations: 163.6 kB / 0.6942 GB, free: 9.434 MB / 0.545 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.0009191/0.6728, allocations: 350.6 kB / 0.6946 GB, free: 9.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008056/0.6736, allocations: 435.6 kB / 0.695 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6736, allocations: 0 / 0.695 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.674, allocations: 215.8 kB / 0.6952 GB, free: 8.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.6747, allocations: 93.19 kB / 0.6953 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.6761, allocations: 0.874 MB / 0.6961 GB, free: 7.449 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6765, allocations: 0.7366 MB / 0.6969 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004683/0.6769, allocations: 113.8 kB / 0.697 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.6771, allocations: 31.42 kB / 0.697 GB, free: 6.543 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.6771, allocations: 0 / 0.697 GB, free: 6.543 MB / 0.545 GB Notification: Performance of Templates: time 0.0129/0.69, allocations: 8.047 MB / 0.7048 GB, free: 14.54 MB / 0.5606 GB 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches