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.001373/0.001374, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 206 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 83.86 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3961, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1819/0.578, allocations: 152.6 MB / 0.6806 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002878/0.5809, allocations: 2.192 MB / 0.6828 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.5811, allocations: 0 / 0.6828 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.5815, allocations: 63.59 kB / 0.6828 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.5834, allocations: 0.6222 MB / 0.6834 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.5838, allocations: 114.8 kB / 0.6836 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.5842, allocations: 259.1 kB / 0.6838 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.5843, allocations: 7.984 kB / 0.6838 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.5846, allocations: 155 kB / 0.684 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.5849, allocations: 87.72 kB / 0.684 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.585, allocations: 12 kB / 0.6841 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.5867, allocations: 0.8495 MB / 0.6849 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.5868, allocations: 87.7 kB / 0.685 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5869, allocations: 95.64 kB / 0.6851 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.5882, allocations: 0.6567 MB / 0.6857 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5882, allocations: 0 / 0.6857 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5882, allocations: 3.938 kB / 0.6857 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.5882, allocations: 0 / 0.6857 GB, free: 3.391 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.0009245/0.5892, allocations: 0.5109 MB / 0.6862 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5892, allocations: 8.031 kB / 0.6862 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.5914, allocations: 272.4 kB / 0.6865 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.5918, allocations: 279.9 kB / 0.6867 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.5919, allocations: 16.33 kB / 0.6867 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.592, allocations: 19.98 kB / 0.6868 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.5928, allocations: 0.4939 MB / 0.6872 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5928, allocations: 4 kB / 0.6873 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.5929, allocations: 8 kB / 0.6873 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.5929, allocations: 4 kB / 0.6873 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008411/0.5938, allocations: 0.5855 MB / 0.6878 GB, free: 1.105 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.002251/0.596, allocations: 1.012 MB / 0.6888 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.5965, allocations: 237.1 kB / 0.6891 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.5967, allocations: 187.9 kB / 0.6892 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/0.5977, allocations: 379.2 kB / 0.6896 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5977, allocations: 38.56 kB / 0.6896 GB, free: 15.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.5977, allocations: 0 / 0.6896 GB, free: 15.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002016/0.5998, allocations: 0.5955 MB / 0.6902 GB, free: 14.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.5998, allocations: 81.11 kB / 0.6903 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.5999, allocations: 129.7 kB / 0.6904 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.6, allocations: 33.7 kB / 0.6904 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.6001, allocations: 116.3 kB / 0.6906 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.6002, allocations: 106.5 kB / 0.6907 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.6004, allocations: 65.48 kB / 0.6907 GB, free: 13.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6005, allocations: 338.8 kB / 0.691 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.6008, allocations: 183.9 kB / 0.6912 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.6012, allocations: 284.5 kB / 0.6915 GB, free: 13.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/0.602, allocations: 0.4955 MB / 0.692 GB, free: 12.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.602, allocations: 0 / 0.692 GB, free: 12.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000963/0.603, allocations: 0.513 MB / 0.6925 GB, free: 12.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.603, allocations: 12.03 kB / 0.6925 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.603, allocations: 4 kB / 0.6925 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.6031, allocations: 7.938 kB / 0.6925 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.6036, allocations: 83.81 kB / 0.6926 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.6037, allocations: 4 kB / 0.6926 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.6041, allocations: 35.77 kB / 0.6926 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.6042, allocations: 16 kB / 0.6926 GB, free: 11.9 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.0001815/0.6044, allocations: 149.6 kB / 0.6928 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.6045, allocations: 23.81 kB / 0.6928 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009797/0.6055, allocations: 493.1 kB / 0.6933 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6055, allocations: 4 kB / 0.6933 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6055, allocations: 4 kB / 0.6933 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6055, allocations: 0 / 0.6933 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.6062, allocations: 465.9 kB / 0.6937 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6063, allocations: 4 kB / 0.6937 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.6068, allocations: 59.95 kB / 0.6938 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6068, allocations: 4 kB / 0.6938 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.6069, allocations: 8 kB / 0.6938 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.6069, allocations: 3.938 kB / 0.6938 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6069, allocations: 4 kB / 0.6938 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.608, allocations: 0.684 MB / 0.6945 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.6081, allocations: 92.94 kB / 0.6946 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.6082, allocations: 8 kB / 0.6946 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.6087, allocations: 27.97 kB / 0.6946 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.6088, allocations: 15.98 kB / 0.6946 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.6088, allocations: 15.98 kB / 0.6946 GB, free: 9.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.223e-05/0.6089, allocations: 103.2 kB / 0.6947 GB, free: 9.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6089, allocations: 3.938 kB / 0.6947 GB, free: 9.656 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007421/0.6097, allocations: 163.8 kB / 0.6949 GB, free: 9.496 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.0009763/0.6106, allocations: 347 kB / 0.6952 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008263/0.6115, allocations: 447.7 kB / 0.6956 GB, free: 8.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.6115, allocations: 0 / 0.6956 GB, free: 8.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.6119, allocations: 211.8 kB / 0.6958 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.6126, allocations: 88.91 kB / 0.6959 GB, free: 8.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.614, allocations: 0.8919 MB / 0.6968 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.6143, allocations: 0.7366 MB / 0.6975 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.6145, allocations: 39.36 kB / 0.6975 GB, free: 6.688 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.6145, allocations: 0 / 0.6975 GB, free: 6.688 MB / 0.545 GB Notification: Performance of Templates: time 0.01137/0.6259, allocations: 6.68 MB / 0.7041 GB, free: 12 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