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.001374/0.001374, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 79.81 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3296, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.165/0.4946, allocations: 152.6 MB / 0.6806 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002749/0.4974, allocations: 2.196 MB / 0.6828 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.4976, allocations: 0 / 0.6828 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.498, allocations: 55.72 kB / 0.6828 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.4998, allocations: 0.6377 MB / 0.6835 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.5001, allocations: 106.7 kB / 0.6836 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.5005, allocations: 255.1 kB / 0.6838 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.5005, allocations: 19.97 kB / 0.6838 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.5009, allocations: 147 kB / 0.684 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.5011, allocations: 91.7 kB / 0.684 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.5012, allocations: 8 kB / 0.6841 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.5028, allocations: 0.8495 MB / 0.6849 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5029, allocations: 91.75 kB / 0.685 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.503, allocations: 95.59 kB / 0.6851 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5042, allocations: 0.6606 MB / 0.6857 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5042, allocations: 0 / 0.6857 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5042, allocations: 0 / 0.6857 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.5042, allocations: 3.938 kB / 0.6857 GB, free: 3.402 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.0009323/0.5052, allocations: 0.4992 MB / 0.6862 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5052, allocations: 12.03 kB / 0.6862 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.5073, allocations: 280.4 kB / 0.6865 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.5077, allocations: 275.9 kB / 0.6867 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.5077, allocations: 16.33 kB / 0.6868 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.5078, allocations: 20 kB / 0.6868 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007658/0.5086, allocations: 0.4977 MB / 0.6873 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5086, allocations: 0 / 0.6873 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.5087, allocations: 7.984 kB / 0.6873 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5087, allocations: 8 kB / 0.6873 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.5096, allocations: 0.5817 MB / 0.6878 GB, free: 1.121 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.002187/0.5118, allocations: 1.008 MB / 0.6888 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.5122, allocations: 237.1 kB / 0.6891 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5125, allocations: 181.6 kB / 0.6892 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000925/0.5134, allocations: 387.2 kB / 0.6896 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5134, allocations: 46.56 kB / 0.6896 GB, free: 15.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.5134, allocations: 0 / 0.6896 GB, free: 15.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001839/0.5153, allocations: 0.5878 MB / 0.6902 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.5154, allocations: 81.11 kB / 0.6903 GB, free: 14.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.5155, allocations: 133.7 kB / 0.6904 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.5155, allocations: 29.7 kB / 0.6905 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.5156, allocations: 120.4 kB / 0.6906 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.5157, allocations: 106.5 kB / 0.6907 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.5159, allocations: 69.47 kB / 0.6907 GB, free: 13.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.516, allocations: 326.8 kB / 0.691 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.5163, allocations: 179.9 kB / 0.6912 GB, free: 13.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.5167, allocations: 292.5 kB / 0.6915 GB, free: 13.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/0.5175, allocations: 0.4915 MB / 0.692 GB, free: 12.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.5175, allocations: 0 / 0.692 GB, free: 12.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009367/0.5184, allocations: 0.5205 MB / 0.6925 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5185, allocations: 4 kB / 0.6925 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5185, allocations: 4 kB / 0.6925 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5185, allocations: 8 kB / 0.6925 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.519, allocations: 79.89 kB / 0.6926 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.5191, allocations: 11.88 kB / 0.6926 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.5194, allocations: 32.08 kB / 0.6926 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.5195, allocations: 27.98 kB / 0.6926 GB, free: 11.91 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.0001569/0.5197, allocations: 149.6 kB / 0.6928 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5198, allocations: 15.81 kB / 0.6928 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009159/0.5207, allocations: 493 kB / 0.6933 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.5207, allocations: 4 kB / 0.6933 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5207, allocations: 0 / 0.6933 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5207, allocations: 3.984 kB / 0.6933 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.5215, allocations: 469.9 kB / 0.6937 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5215, allocations: 0 / 0.6937 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.522, allocations: 59.91 kB / 0.6938 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.522, allocations: 0 / 0.6938 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.522, allocations: 15.98 kB / 0.6938 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.522, allocations: 0 / 0.6938 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.522, allocations: 0 / 0.6938 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.5231, allocations: 0.6996 MB / 0.6945 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.5232, allocations: 88.95 kB / 0.6946 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.5233, allocations: 11.98 kB / 0.6946 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.5237, allocations: 15.98 kB / 0.6946 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.5238, allocations: 19.97 kB / 0.6946 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.5238, allocations: 19.98 kB / 0.6946 GB, free: 9.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.5239, allocations: 103.6 kB / 0.6947 GB, free: 9.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5239, allocations: 0 / 0.6947 GB, free: 9.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006854/0.5246, allocations: 163.8 kB / 0.6949 GB, free: 9.508 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.0008878/0.5255, allocations: 355.1 kB / 0.6952 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007918/0.5263, allocations: 435.6 kB / 0.6956 GB, free: 8.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5263, allocations: 0 / 0.6956 GB, free: 8.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.5267, allocations: 212.6 kB / 0.6958 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.5273, allocations: 94.34 kB / 0.6959 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5287, allocations: 0.8958 MB / 0.6968 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.529, allocations: 0.7366 MB / 0.6975 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.5293, allocations: 35.44 kB / 0.6976 GB, free: 6.699 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5293, allocations: 0 / 0.6976 GB, free: 6.699 MB / 0.545 GB Notification: Performance of Templates: time 0.01047/0.5397, allocations: 6.674 MB / 0.7041 GB, free: 32 kB / 0.545 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