Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001213/0.001213, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001801/0.001801, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2281/0.2281, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 66.86 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1059, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3971/0.503, allocations: 151 MB / 0.5783 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.505, allocations: 2.09 MB / 0.5803 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.5051, allocations: 7.938 kB / 0.5803 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.5054, allocations: 51.31 kB / 0.5804 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.5068, allocations: 0.613 MB / 0.581 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.5071, allocations: 104.1 kB / 0.5811 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.5074, allocations: 264.7 kB / 0.5813 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.5074, allocations: 4.781 kB / 0.5813 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.5077, allocations: 137.1 kB / 0.5815 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.5079, allocations: 94.36 kB / 0.5815 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.5079, allocations: 7.875 kB / 0.5816 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.5094, allocations: 0.9096 MB / 0.5824 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.5095, allocations: 87.84 kB / 0.5825 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.5096, allocations: 97.22 kB / 0.5826 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008634/0.5105, allocations: 0.6673 MB / 0.5833 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5105, allocations: 3 kB / 0.5833 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5105, allocations: 0 / 0.5833 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.5105, allocations: 0 / 0.5833 GB, free: 11.88 MB / 430.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.0008115/0.5113, allocations: 0.4927 MB / 0.5838 GB, free: 11.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5113, allocations: 10.16 kB / 0.5838 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007584/0.5189, allocations: 0.7384 MB / 0.5845 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.5194, allocations: 284 kB / 0.5848 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5195, allocations: 15.27 kB / 0.5848 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5196, allocations: 19.41 kB / 0.5848 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.521, allocations: 0.7136 MB / 0.5855 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.521, allocations: 0 / 0.5855 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.5211, allocations: 6.219 kB / 0.5855 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.5212, allocations: 7.156 kB / 0.5855 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.5231, allocations: 0.9255 MB / 0.5864 GB, free: 10.51 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.005178/0.5283, allocations: 2.009 MB / 0.5884 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5294, allocations: 0.496 MB / 0.5889 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.5301, allocations: 338 kB / 0.5892 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/0.5308, allocations: 280.6 kB / 0.5894 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.5308, allocations: 36.94 kB / 0.5895 GB, free: 8.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/0.5309, allocations: 0 / 0.5895 GB, free: 8.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.002156/0.533, allocations: 0.8969 MB / 0.5904 GB, free: 8.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.5331, allocations: 79.64 kB / 0.5904 GB, free: 8.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5332, allocations: 128.1 kB / 0.5905 GB, free: 8.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.5333, allocations: 31.7 kB / 0.5906 GB, free: 8.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.5334, allocations: 120.6 kB / 0.5907 GB, free: 8.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.5335, allocations: 106 kB / 0.5908 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.5337, allocations: 77.09 kB / 0.5909 GB, free: 7.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5338, allocations: 324.4 kB / 0.5912 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.5345, allocations: 293.8 kB / 0.5915 GB, free: 7.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.5352, allocations: 402.1 kB / 0.5918 GB, free: 7.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.5365, allocations: 0.6928 MB / 0.5925 GB, free: 7.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.5365, allocations: 0 / 0.5925 GB, free: 7.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001628/0.5382, allocations: 0.7469 MB / 0.5932 GB, free: 7.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5382, allocations: 8.688 kB / 0.5933 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5382, allocations: 2.75 kB / 0.5933 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.5383, allocations: 4.938 kB / 0.5933 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.5394, allocations: 98.66 kB / 0.5934 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5394, allocations: 11.78 kB / 0.5934 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.5404, allocations: 49.44 kB / 0.5934 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.5405, allocations: 22.17 kB / 0.5934 GB, free: 7.039 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.5407, allocations: 147.2 kB / 0.5936 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5408, allocations: 18.44 kB / 0.5936 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.5428, allocations: 0.7761 MB / 0.5944 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5428, allocations: 6.281 kB / 0.5944 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5428, allocations: 2.781 kB / 0.5944 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5428, allocations: 0 / 0.5944 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.5439, allocations: 0.7942 MB / 0.5951 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5439, allocations: 3.938 kB / 0.5951 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.545, allocations: 87.81 kB / 0.5952 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.545, allocations: 6.938 kB / 0.5952 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.5451, allocations: 12.48 kB / 0.5952 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.5451, allocations: 6.125 kB / 0.5952 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5451, allocations: 480 / 0.5952 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.5472, allocations: 0.9614 MB / 0.5962 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.5473, allocations: 94 kB / 0.5963 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.5474, allocations: 7.656 kB / 0.5963 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.5484, allocations: 35.27 kB / 0.5963 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.5485, allocations: 14.8 kB / 0.5963 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.5486, allocations: 23.78 kB / 0.5964 GB, free: 5.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.821e-05/0.5487, allocations: 98.67 kB / 0.5965 GB, free: 5.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5487, allocations: 0 / 0.5965 GB, free: 5.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000837/0.5495, allocations: 186.1 kB / 0.5966 GB, free: 5.418 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 (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.0009283/0.5504, allocations: 346.3 kB / 0.597 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.552, allocations: 0.682 MB / 0.5976 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.552, allocations: 0 / 0.5976 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.5527, allocations: 324.7 kB / 0.5979 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.5534, allocations: 97.25 kB / 0.598 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.5553, allocations: 0.9796 MB / 0.599 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.5556, allocations: 0.7357 MB / 0.5997 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.556, allocations: 48.58 kB / 0.5997 GB, free: 3.617 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.556, allocations: 4 kB / 0.5998 GB, free: 3.613 MB / 430.1 MB Notification: Performance of Templates: time 0.0135/0.5695, allocations: 10.1 MB / 0.6096 GB, free: 12.62 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches