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.001198/0.001198, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001245/0.001245, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.406/1.406, allocations: 222.9 MB / 243 MB, free: 15.08 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.2099/0.2099, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 62.38 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3862/0.5087, allocations: 149.7 MB / 0.6058 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.5114, allocations: 2.196 MB / 0.608 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.5115, allocations: 0 / 0.608 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.5118, allocations: 47.73 kB / 0.608 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.5133, allocations: 0.6377 MB / 0.6087 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.5136, allocations: 97.58 kB / 0.6087 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.514, allocations: 263 kB / 0.609 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.514, allocations: 4 kB / 0.609 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.5143, allocations: 141.2 kB / 0.6091 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.5145, allocations: 83.78 kB / 0.6092 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.5145, allocations: 8 kB / 0.6092 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.516, allocations: 0.8612 MB / 0.6101 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.5161, allocations: 83.77 kB / 0.6101 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.5162, allocations: 95.64 kB / 0.6102 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.5171, allocations: 0.6584 MB / 0.6109 GB, free: 5.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5171, allocations: 0 / 0.6109 GB, free: 5.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5171, allocations: 0 / 0.6109 GB, free: 5.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.5172, allocations: 0 / 0.6109 GB, free: 5.414 MB / 446.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.0007396/0.5179, allocations: 0.4999 MB / 0.6114 GB, free: 4.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.5179, allocations: 12.03 kB / 0.6114 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.5199, allocations: 276.4 kB / 0.6116 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.5204, allocations: 281.4 kB / 0.6119 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5204, allocations: 16.27 kB / 0.6119 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.5205, allocations: 16 kB / 0.6119 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.5213, allocations: 0.4928 MB / 0.6124 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5213, allocations: 3.938 kB / 0.6124 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.5214, allocations: 4 kB / 0.6124 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.5214, allocations: 15.98 kB / 0.6124 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.5223, allocations: 0.5778 MB / 0.613 GB, free: 3.137 MB / 446.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.002288/0.5246, allocations: 1.007 MB / 0.614 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.525, allocations: 246.4 kB / 0.6142 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.5253, allocations: 177.6 kB / 0.6144 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009755/0.5262, allocations: 383.5 kB / 0.6148 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5263, allocations: 38.5 kB / 0.6148 GB, free: 1.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.5263, allocations: 0 / 0.6148 GB, free: 1.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001818/0.5281, allocations: 0.5921 MB / 0.6154 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.5282, allocations: 85.05 kB / 0.6155 GB, free: 472 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5283, allocations: 133.7 kB / 0.6156 GB, free: 328 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.5284, allocations: 29.7 kB / 0.6156 GB, free: 292 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.5285, allocations: 120.3 kB / 0.6157 GB, free: 168 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.5285, allocations: 98.56 kB / 0.6158 GB, free: 68 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.5287, allocations: 69.64 kB / 0.6159 GB, free: 15.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5288, allocations: 326.8 kB / 0.6162 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.5292, allocations: 183.9 kB / 0.6164 GB, free: 15.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.5296, allocations: 293.5 kB / 0.6167 GB, free: 15.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.5303, allocations: 0.4928 MB / 0.6171 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5303, allocations: 4 kB / 0.6171 GB, free: 14.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009193/0.5313, allocations: 0.5127 MB / 0.6176 GB, free: 14.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5313, allocations: 11.62 kB / 0.6177 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5313, allocations: 11.62 kB / 0.6177 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.5313, allocations: 8 kB / 0.6177 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.5319, allocations: 79.89 kB / 0.6177 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5319, allocations: 4 kB / 0.6178 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.5322, allocations: 35.67 kB / 0.6178 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.5323, allocations: 23.98 kB / 0.6178 GB, free: 13.93 MB / 462.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.000159/0.5325, allocations: 145.6 kB / 0.6179 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5326, allocations: 19.81 kB / 0.618 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.5335, allocations: 497 kB / 0.6184 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.5335, allocations: 8 kB / 0.6184 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5335, allocations: 0 / 0.6184 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.5336, allocations: 0 / 0.6184 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.5343, allocations: 461.9 kB / 0.6189 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5343, allocations: 0 / 0.6189 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.5348, allocations: 59.89 kB / 0.6189 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5348, allocations: 0 / 0.6189 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.5348, allocations: 15.98 kB / 0.619 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5348, allocations: 0 / 0.619 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5349, allocations: 0 / 0.619 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.5359, allocations: 0.6897 MB / 0.6196 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.536, allocations: 88.95 kB / 0.6197 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.536, allocations: 8 kB / 0.6197 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.5365, allocations: 23.91 kB / 0.6197 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.5366, allocations: 23.97 kB / 0.6198 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.5366, allocations: 19.92 kB / 0.6198 GB, free: 11.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.405e-05/0.5367, allocations: 102.3 kB / 0.6199 GB, free: 11.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5367, allocations: 0 / 0.6199 GB, free: 11.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.5373, allocations: 159.8 kB / 0.62 GB, free: 11.55 MB / 462.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.0007481/0.5381, allocations: 340 kB / 0.6204 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.5389, allocations: 439.9 kB / 0.6208 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5389, allocations: 4 kB / 0.6208 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.5393, allocations: 207.8 kB / 0.621 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.5399, allocations: 96.19 kB / 0.6211 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5413, allocations: 0.8861 MB / 0.6219 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.5417, allocations: 0.7366 MB / 0.6227 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.5421, allocations: 113.8 kB / 0.6228 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.5422, allocations: 23.44 kB / 0.6228 GB, free: 8.676 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5422, allocations: 0 / 0.6228 GB, free: 8.676 MB / 462.1 MB Notification: Performance of Templates: time 0.01273/0.555, allocations: 8.001 MB / 0.6306 GB, free: 0.7227 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 -s gbode -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/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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches