Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009124, allocations: 100.2 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000879/0.000879, allocations: 187.6 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 241.8 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2052/0.2052, allocations: 44.22 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 8 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 61.92 MB / 471.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4772/0.6048, allocations: 125.8 MB / 0.5832 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.607, allocations: 1.794 MB / 0.585 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.6071, allocations: 0 / 0.585 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.6074, allocations: 39.84 kB / 0.585 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009931/0.6084, allocations: 450.6 kB / 0.5855 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.6087, allocations: 84.69 kB / 0.5855 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.6089, allocations: 159.7 kB / 0.5857 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.824e-05/0.609, allocations: 8 kB / 0.5857 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.6095, allocations: 175.5 kB / 0.5859 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.6097, allocations: 67.81 kB / 0.5859 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.6097, allocations: 4 kB / 0.5859 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.6111, allocations: 0.7256 MB / 0.5866 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.6113, allocations: 71.84 kB / 0.5867 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.6113, allocations: 57.64 kB / 0.5868 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.612, allocations: 461 kB / 0.5872 GB, free: 64 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.612, allocations: 4 kB / 0.5872 GB, free: 60 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.612, allocations: 0 / 0.5872 GB, free: 60 kB / 414.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.612, allocations: 0 / 0.5872 GB, free: 60 kB / 414.1 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.0006875/0.6127, allocations: 467.8 kB / 0.5877 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6127, allocations: 12.03 kB / 0.5877 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.6146, allocations: 259.5 kB / 0.5879 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.6149, allocations: 250.8 kB / 0.5882 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.615, allocations: 12.33 kB / 0.5882 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.615, allocations: 27.86 kB / 0.5882 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.6158, allocations: 0.4928 MB / 0.5887 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6158, allocations: 2.062 kB / 0.5887 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.6159, allocations: 8 kB / 0.5887 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.6159, allocations: 8 kB / 0.5887 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007939/0.6167, allocations: 0.5855 MB / 0.5893 GB, free: 13.86 MB / 430.1 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.00204/0.6187, allocations: 0.9957 MB / 0.5902 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.6191, allocations: 241.1 kB / 0.5905 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009013/0.62, allocations: 375.3 kB / 0.5908 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.6201, allocations: 42.5 kB / 0.5909 GB, free: 12.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.6201, allocations: 0 / 0.5909 GB, free: 12.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001834/0.6219, allocations: 0.5971 MB / 0.5914 GB, free: 11.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.622, allocations: 81.11 kB / 0.5915 GB, free: 11.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.6221, allocations: 137.6 kB / 0.5917 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.6222, allocations: 29.7 kB / 0.5917 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.6222, allocations: 108.4 kB / 0.5918 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6224, allocations: 106.5 kB / 0.5919 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.6224, allocations: 8 kB / 0.5919 GB, free: 10.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6225, allocations: 330.8 kB / 0.5922 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.6229, allocations: 183.9 kB / 0.5924 GB, free: 10.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.6233, allocations: 289.5 kB / 0.5927 GB, free: 10.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.6236, allocations: 215.9 kB / 0.5929 GB, free: 9.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6236, allocations: 0 / 0.5929 GB, free: 9.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000879/0.6245, allocations: 0.5158 MB / 0.5934 GB, free: 9.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6246, allocations: 4.406 kB / 0.5934 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.6246, allocations: 8 kB / 0.5934 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.6246, allocations: 11.94 kB / 0.5934 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.6251, allocations: 83.83 kB / 0.5935 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.6251, allocations: 7.984 kB / 0.5935 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.6255, allocations: 35.73 kB / 0.5935 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.6256, allocations: 20 kB / 0.5935 GB, free: 9.242 MB / 430.1 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.0001593/0.6258, allocations: 154.1 kB / 0.5937 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6259, allocations: 23.89 kB / 0.5937 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000903/0.6268, allocations: 494.4 kB / 0.5942 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.6268, allocations: 4 kB / 0.5942 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6268, allocations: 0 / 0.5942 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.6268, allocations: 0 / 0.5942 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.6276, allocations: 453.9 kB / 0.5946 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6276, allocations: 0 / 0.5946 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.6281, allocations: 59.95 kB / 0.5947 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6281, allocations: 4 kB / 0.5947 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.6281, allocations: 15.92 kB / 0.5947 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.6281, allocations: 7.938 kB / 0.5947 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6281, allocations: 0 / 0.5947 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.6291, allocations: 0.6978 MB / 0.5954 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.6292, allocations: 96.86 kB / 0.5955 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.6293, allocations: 8 kB / 0.5955 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.6297, allocations: 27.95 kB / 0.5955 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.6298, allocations: 15.97 kB / 0.5955 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.6298, allocations: 19.98 kB / 0.5955 GB, free: 7.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.6299, allocations: 105.3 kB / 0.5956 GB, free: 6.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6299, allocations: 0 / 0.5956 GB, free: 6.988 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006733/0.6306, allocations: 167.9 kB / 0.5958 GB, free: 6.824 MB / 430.1 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.0006997/0.6313, allocations: 275.1 kB / 0.5961 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007455/0.6321, allocations: 443.1 kB / 0.5965 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6321, allocations: 4.062 kB / 0.5965 GB, free: 6.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.6324, allocations: 215.8 kB / 0.5967 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.633, allocations: 84.67 kB / 0.5968 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.6344, allocations: 1.068 MB / 0.5978 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6347, allocations: 0.7446 MB / 0.5985 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006048/0.6353, allocations: 117.7 kB / 0.5987 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.6354, allocations: 27.42 kB / 0.5987 GB, free: 3.805 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.6354, allocations: 0 / 0.5987 GB, free: 3.805 MB / 430.1 MB Notification: Performance of Templates: time 0.01165/0.6471, allocations: 7.555 MB / 0.6061 GB, free: 12.3 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches