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.001843/0.001844, allocations: 102.7 kB / 16.27 MB, free: 5.977 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.001957/0.001957, allocations: 188.6 kB / 17.19 MB, free: 5.609 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.64/1.64, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2509/0.2509, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001864/0.001864, allocations: 63.88 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 57.79 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5167/0.6619, allocations: 151 MB / 0.5776 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.6652, allocations: 2.091 MB / 0.5797 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.6653, allocations: 0 / 0.5797 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.6658, allocations: 51.89 kB / 0.5797 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.6676, allocations: 0.6143 MB / 0.5803 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.6679, allocations: 109.2 kB / 0.5804 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.6683, allocations: 257.7 kB / 0.5807 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.6684, allocations: 12 kB / 0.5807 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.6687, allocations: 135.5 kB / 0.5808 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.669, allocations: 89.61 kB / 0.5809 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.6691, allocations: 8 kB / 0.5809 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.6712, allocations: 0.915 MB / 0.5818 GB, free: 12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.6714, allocations: 82.97 kB / 0.5819 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.6716, allocations: 100.9 kB / 0.582 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.673, allocations: 0.6668 MB / 0.5826 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.673, allocations: 2.688 kB / 0.5826 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.673, allocations: 0 / 0.5826 GB, free: 11.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.673, allocations: 2.297 kB / 0.5826 GB, free: 11.9 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.0009237/0.6739, allocations: 0.4911 MB / 0.5831 GB, free: 11.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.674, allocations: 10.19 kB / 0.5831 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007521/0.6815, allocations: 0.7369 MB / 0.5838 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.6821, allocations: 281.2 kB / 0.5841 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.6822, allocations: 15.67 kB / 0.5841 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6823, allocations: 21.72 kB / 0.5841 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.6837, allocations: 0.7092 MB / 0.5848 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6837, allocations: 3.938 kB / 0.5848 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.6838, allocations: 6.156 kB / 0.5848 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.6838, allocations: 11.73 kB / 0.5848 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.6858, allocations: 0.9169 MB / 0.5857 GB, free: 10.55 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.005221/0.6911, allocations: 2.01 MB / 0.5877 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.6922, allocations: 0.5098 MB / 0.5882 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.6929, allocations: 328.6 kB / 0.5885 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/0.6937, allocations: 271.7 kB / 0.5888 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.6937, allocations: 39.39 kB / 0.5888 GB, free: 8.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 3.677e-06/0.6937, allocations: 3.984 kB / 0.5888 GB, free: 8.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.002159/0.6959, allocations: 0.9007 MB / 0.5897 GB, free: 8.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.696, allocations: 83.17 kB / 0.5898 GB, free: 8.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.6961, allocations: 132 kB / 0.5899 GB, free: 8.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.6961, allocations: 32.14 kB / 0.5899 GB, free: 8.223 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.6962, allocations: 115.9 kB / 0.59 GB, free: 8.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.6964, allocations: 107 kB / 0.5901 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6966, allocations: 72.67 kB / 0.5902 GB, free: 8.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6967, allocations: 324.3 kB / 0.5905 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.6974, allocations: 298.1 kB / 0.5908 GB, free: 7.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.6981, allocations: 394.8 kB / 0.5912 GB, free: 7.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.6994, allocations: 0.6957 MB / 0.5919 GB, free: 7.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.6994, allocations: 0 / 0.5919 GB, free: 7.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001649/0.701, allocations: 0.751 MB / 0.5926 GB, free: 7.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.7011, allocations: 4.844 kB / 0.5926 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7011, allocations: 4.5 kB / 0.5926 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.7011, allocations: 5.375 kB / 0.5926 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7023, allocations: 99.62 kB / 0.5927 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.7023, allocations: 11.34 kB / 0.5927 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.7032, allocations: 45.22 kB / 0.5928 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.7033, allocations: 22.02 kB / 0.5928 GB, free: 7.07 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.0002373/0.7035, allocations: 146.6 kB / 0.5929 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.7037, allocations: 19.53 kB / 0.5929 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.7057, allocations: 0.7837 MB / 0.5937 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.7057, allocations: 2.625 kB / 0.5937 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7057, allocations: 6.703 kB / 0.5937 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7057, allocations: 0 / 0.5937 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.7068, allocations: 0.7936 MB / 0.5945 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.7068, allocations: 7.875 kB / 0.5945 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7078, allocations: 87.64 kB / 0.5946 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.7078, allocations: 2.781 kB / 0.5946 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.7079, allocations: 16.06 kB / 0.5946 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7079, allocations: 2.562 kB / 0.5946 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7079, allocations: 0 / 0.5946 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.7099, allocations: 0.9573 MB / 0.5955 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.71, allocations: 90.95 kB / 0.5956 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.7101, allocations: 7.844 kB / 0.5956 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009696/0.7111, allocations: 34.55 kB / 0.5957 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.7111, allocations: 22.78 kB / 0.5957 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.7112, allocations: 23.47 kB / 0.5957 GB, free: 5.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.773e-05/0.7113, allocations: 102.5 kB / 0.5958 GB, free: 5.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7113, allocations: 0 / 0.5958 GB, free: 5.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008501/0.7121, allocations: 183.3 kB / 0.596 GB, free: 5.441 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.0008997/0.713, allocations: 326 kB / 0.5963 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.7146, allocations: 0.6874 MB / 0.597 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7146, allocations: 0 / 0.597 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.7152, allocations: 329.4 kB / 0.5973 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.716, allocations: 111.3 kB / 0.5974 GB, free: 5.035 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.7177, allocations: 0.944 MB / 0.5983 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.7181, allocations: 0.7392 MB / 0.599 GB, free: 3.691 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001228/0.7193, allocations: 178.4 kB / 0.5992 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.7196, allocations: 38.25 kB / 0.5992 GB, free: 3.547 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7196, allocations: 0 / 0.5992 GB, free: 3.547 MB / 430.1 MB Notification: Performance of Templates: time 0.016/0.7356, allocations: 10.49 MB / 0.6095 GB, free: 12.21 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/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