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.00111/0.00111, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 75.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 62.43 MB / 0.5316 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1608/0.4682, allocations: 152.6 MB / 0.6806 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.4709, allocations: 2.204 MB / 0.6828 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.471, allocations: 4 kB / 0.6828 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.4714, allocations: 47.72 kB / 0.6828 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.473, allocations: 0.6299 MB / 0.6835 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.4733, allocations: 102.9 kB / 0.6836 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.4736, allocations: 255.1 kB / 0.6838 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.4737, allocations: 15.97 kB / 0.6838 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.4739, allocations: 159 kB / 0.684 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.4741, allocations: 83.72 kB / 0.684 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.4741, allocations: 8 kB / 0.6841 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.4756, allocations: 0.8495 MB / 0.6849 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.4757, allocations: 87.75 kB / 0.685 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.4758, allocations: 103.6 kB / 0.6851 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008651/0.4767, allocations: 0.6567 MB / 0.6857 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4767, allocations: 0 / 0.6857 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4767, allocations: 4 kB / 0.6857 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4767, allocations: 0 / 0.6857 GB, free: 3.453 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.0007028/0.4774, allocations: 0.4992 MB / 0.6862 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4775, allocations: 8.031 kB / 0.6862 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.4795, allocations: 284.4 kB / 0.6865 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.4799, allocations: 275.9 kB / 0.6867 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4799, allocations: 12.33 kB / 0.6868 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.48, allocations: 20 kB / 0.6868 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.4808, allocations: 0.5016 MB / 0.6873 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4808, allocations: 0 / 0.6873 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.4809, allocations: 11.98 kB / 0.6873 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.4809, allocations: 8 kB / 0.6873 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008329/0.4817, allocations: 0.5778 MB / 0.6878 GB, free: 1.172 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.002155/0.4839, allocations: 1.008 MB / 0.6888 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.4843, allocations: 241.1 kB / 0.6891 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.4846, allocations: 183.9 kB / 0.6892 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009624/0.4855, allocations: 383.2 kB / 0.6896 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4856, allocations: 46.56 kB / 0.6896 GB, free: 15.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.4856, allocations: 0 / 0.6896 GB, free: 15.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001881/0.4875, allocations: 0.5915 MB / 0.6902 GB, free: 14.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.4875, allocations: 77.11 kB / 0.6903 GB, free: 14.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.4876, allocations: 137.7 kB / 0.6904 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.4877, allocations: 29.7 kB / 0.6905 GB, free: 14.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.4878, allocations: 116.4 kB / 0.6906 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.4879, allocations: 106.5 kB / 0.6907 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.488, allocations: 69.47 kB / 0.6907 GB, free: 14.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4881, allocations: 326.8 kB / 0.691 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.4885, allocations: 183.9 kB / 0.6912 GB, free: 13.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.4889, allocations: 290.7 kB / 0.6915 GB, free: 13.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/0.4896, allocations: 495.2 kB / 0.692 GB, free: 12.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4896, allocations: 3.938 kB / 0.692 GB, free: 12.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009437/0.4906, allocations: 0.5169 MB / 0.6925 GB, free: 12.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4906, allocations: 8 kB / 0.6925 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4906, allocations: 4 kB / 0.6925 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4906, allocations: 4 kB / 0.6925 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.4912, allocations: 83.89 kB / 0.6926 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.4912, allocations: 19.94 kB / 0.6926 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.4916, allocations: 32.11 kB / 0.6926 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.4917, allocations: 23.98 kB / 0.6926 GB, free: 11.96 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.0001701/0.4918, allocations: 149.7 kB / 0.6928 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.492, allocations: 15.81 kB / 0.6928 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.4929, allocations: 497.1 kB / 0.6933 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4929, allocations: 3.984 kB / 0.6933 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4929, allocations: 0 / 0.6933 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.493, allocations: 96.86 kB / 0.6934 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.4931, allocations: 4 kB / 0.6934 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.4936, allocations: 27.97 kB / 0.6934 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.4936, allocations: 19.92 kB / 0.6934 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001103/0.4947, allocations: 0.5271 MB / 0.6939 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001085/0.4958, allocations: 0.7145 MB / 0.6946 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003092/0.4962, allocations: 151.9 kB / 0.6948 GB, free: 9.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.4962, allocations: 99.27 kB / 0.6949 GB, free: 9.613 MB / 0.545 GB Notification: Performance of Backend: time 3.61e-07/0.4962, allocations: 0 / 0.6949 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.498, allocations: 0.6494 MB / 0.6955 GB, free: 8.961 MB / 0.545 GB Notification: Performance of SimCode: time 0.001426/0.4995, allocations: 1.247 MB / 0.6967 GB, free: 7.66 MB / 0.545 GB Notification: Performance of Templates: time 0.01497/0.5144, allocations: 9.86 MB / 0.7064 GB, free: 13.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches