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.001155/0.001155, allocations: 99.03 kB / 17 MB, free: 6.398 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.001643/0.001643, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.497/1.497, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2907/0.2907, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4384/0.5926, allocations: 135.8 MB / 0.5931 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.5952, allocations: 2.029 MB / 0.5951 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.5953, allocations: 0 / 0.5951 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.5956, allocations: 35.8 kB / 0.5951 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.5967, allocations: 449.9 kB / 0.5956 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.597, allocations: 85.27 kB / 0.5957 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.5974, allocations: 299 kB / 0.5959 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.5975, allocations: 15.98 kB / 0.596 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.5978, allocations: 119.5 kB / 0.5961 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.598, allocations: 107.6 kB / 0.5962 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.5981, allocations: 11.94 kB / 0.5962 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.5997, allocations: 0.8619 MB / 0.597 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.5998, allocations: 83.75 kB / 0.5971 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.5999, allocations: 57.64 kB / 0.5972 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006254/0.6005, allocations: 496.9 kB / 0.5976 GB, free: 6.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6005, allocations: 0 / 0.5976 GB, free: 6.758 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6005, allocations: 0 / 0.5976 GB, free: 6.758 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.6005, allocations: 0 / 0.5976 GB, free: 6.758 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.0007/0.6012, allocations: 467.8 kB / 0.5981 GB, free: 6.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6013, allocations: 8.031 kB / 0.5981 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/0.6076, allocations: 0.7253 MB / 0.5988 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.6081, allocations: 282.7 kB / 0.5991 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.6081, allocations: 14.19 kB / 0.5991 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.6082, allocations: 31.84 kB / 0.5991 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.6096, allocations: 0.6956 MB / 0.5998 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6096, allocations: 4 kB / 0.5998 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.6097, allocations: 4 kB / 0.5998 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.6098, allocations: 15.98 kB / 0.5998 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.6117, allocations: 0.9124 MB / 0.6007 GB, free: 3.52 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.004561/0.6163, allocations: 1.99 MB / 0.6026 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.6174, allocations: 0.507 MB / 0.6031 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.6181, allocations: 321.5 kB / 0.6034 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008522/0.619, allocations: 375.3 kB / 0.6038 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.619, allocations: 42.47 kB / 0.6038 GB, free: 28 kB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.619, allocations: 0 / 0.6038 GB, free: 28 kB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.00215/0.6212, allocations: 0.892 MB / 0.6047 GB, free: 15.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.6212, allocations: 85.06 kB / 0.6048 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.6214, allocations: 130.9 kB / 0.6049 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.6214, allocations: 33.7 kB / 0.605 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.6215, allocations: 112.4 kB / 0.6051 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.6216, allocations: 106.3 kB / 0.6052 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.6217, allocations: 16 kB / 0.6052 GB, free: 14.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6218, allocations: 322.8 kB / 0.6055 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.6225, allocations: 303.8 kB / 0.6058 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.6232, allocations: 405.2 kB / 0.6062 GB, free: 13.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.6239, allocations: 322.2 kB / 0.6065 GB, free: 13.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6239, allocations: 4 kB / 0.6065 GB, free: 13.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001593/0.6255, allocations: 0.736 MB / 0.6072 GB, free: 12.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6255, allocations: 8 kB / 0.6072 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6255, allocations: 4 kB / 0.6072 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6255, allocations: 4 kB / 0.6072 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.6265, allocations: 111.7 kB / 0.6073 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.6265, allocations: 4 kB / 0.6073 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.6273, allocations: 52.5 kB / 0.6074 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.6274, allocations: 19.98 kB / 0.6074 GB, free: 12.3 MB / 446.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.000201/0.6276, allocations: 146.2 kB / 0.6075 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.6277, allocations: 15.89 kB / 0.6075 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.6298, allocations: 0.7859 MB / 0.6083 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.6298, allocations: 4 kB / 0.6083 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6298, allocations: 7.922 kB / 0.6083 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6298, allocations: 4 kB / 0.6083 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.6309, allocations: 0.8057 MB / 0.6091 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6309, allocations: 0 / 0.6091 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009198/0.6318, allocations: 83.91 kB / 0.6092 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6318, allocations: 0 / 0.6092 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.6319, allocations: 15.92 kB / 0.6092 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6319, allocations: 4 kB / 0.6092 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6319, allocations: 7.891 kB / 0.6092 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.6338, allocations: 0.9538 MB / 0.6101 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.6339, allocations: 96.86 kB / 0.6102 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.634, allocations: 7.984 kB / 0.6102 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.6348, allocations: 39.95 kB / 0.6103 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.6349, allocations: 19.94 kB / 0.6103 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.6349, allocations: 23.97 kB / 0.6103 GB, free: 9.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.942e-05/0.635, allocations: 96.58 kB / 0.6104 GB, free: 9.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.635, allocations: 0 / 0.6104 GB, free: 9.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008587/0.6359, allocations: 183.9 kB / 0.6106 GB, free: 8.863 MB / 446.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.0008145/0.6367, allocations: 287 kB / 0.6109 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.6382, allocations: 0.6521 MB / 0.6115 GB, free: 7.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6382, allocations: 3.938 kB / 0.6115 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.6389, allocations: 327.7 kB / 0.6118 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.6396, allocations: 101.1 kB / 0.6119 GB, free: 7.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.6414, allocations: 1.134 MB / 0.613 GB, free: 6.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.6418, allocations: 0.7368 MB / 0.6137 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001327/0.6431, allocations: 177.7 kB / 0.6139 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.6435, allocations: 39.41 kB / 0.614 GB, free: 5.352 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6435, allocations: 0 / 0.614 GB, free: 5.352 MB / 446.1 MB Notification: Performance of Templates: time 0.01594/0.6594, allocations: 9.871 MB / 0.6236 GB, free: 11.48 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches