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.001159/0.001159, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 198.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 67.89 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3893, 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.1802/0.5695, allocations: 152.6 MB / 0.6806 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.5723, allocations: 2.196 MB / 0.6828 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.5725, allocations: 3.938 kB / 0.6828 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.5728, allocations: 55.7 kB / 0.6828 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.5748, allocations: 0.6338 MB / 0.6835 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.5752, allocations: 111.2 kB / 0.6836 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.5756, allocations: 255.1 kB / 0.6838 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.5756, allocations: 15.97 kB / 0.6838 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.576, allocations: 151 kB / 0.684 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.5762, allocations: 87.72 kB / 0.6841 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.5763, allocations: 8 kB / 0.6841 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.5782, allocations: 0.8573 MB / 0.6849 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.5783, allocations: 87.77 kB / 0.685 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.5785, allocations: 95.64 kB / 0.6851 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.5798, allocations: 0.6606 MB / 0.6857 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5798, allocations: 0 / 0.6857 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5798, allocations: 0 / 0.6857 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5798, allocations: 0 / 0.6857 GB, free: 3.359 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.0009572/0.5808, allocations: 0.5108 MB / 0.6862 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5808, allocations: 8.031 kB / 0.6862 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.5829, allocations: 276.4 kB / 0.6865 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.5835, allocations: 279.9 kB / 0.6868 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5835, allocations: 12.33 kB / 0.6868 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/0.5836, allocations: 16 kB / 0.6868 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.5844, allocations: 0.4939 MB / 0.6873 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5844, allocations: 0 / 0.6873 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.5845, allocations: 4 kB / 0.6873 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.5845, allocations: 19.94 kB / 0.6873 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008574/0.5854, allocations: 0.5817 MB / 0.6879 GB, free: 1.074 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.002557/0.5879, allocations: 1.008 MB / 0.6888 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.5884, allocations: 241.1 kB / 0.6891 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.5887, allocations: 179.9 kB / 0.6892 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.5897, allocations: 391.1 kB / 0.6896 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.5898, allocations: 38.56 kB / 0.6897 GB, free: 15.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.5898, allocations: 0 / 0.6897 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002015/0.5918, allocations: 0.5878 MB / 0.6902 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.5918, allocations: 85.11 kB / 0.6903 GB, free: 14.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.592, allocations: 133.7 kB / 0.6904 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.592, allocations: 33.64 kB / 0.6905 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.5921, allocations: 116.4 kB / 0.6906 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.5922, allocations: 110.4 kB / 0.6907 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.5924, allocations: 65.48 kB / 0.6907 GB, free: 13.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5925, allocations: 330.8 kB / 0.6911 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.5929, allocations: 183.9 kB / 0.6912 GB, free: 13.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.5933, allocations: 286.8 kB / 0.6915 GB, free: 13.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5943, allocations: 491.5 kB / 0.692 GB, free: 12.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5943, allocations: 3.938 kB / 0.692 GB, free: 12.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001081/0.5954, allocations: 0.5168 MB / 0.6925 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5954, allocations: 4 kB / 0.6925 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5954, allocations: 4.406 kB / 0.6925 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.5955, allocations: 12 kB / 0.6925 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.596, allocations: 83.83 kB / 0.6926 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.5961, allocations: 15.98 kB / 0.6926 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.5965, allocations: 31.77 kB / 0.6926 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.5966, allocations: 20 kB / 0.6926 GB, free: 11.87 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.0001885/0.5968, allocations: 149.6 kB / 0.6928 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5969, allocations: 19.75 kB / 0.6928 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/0.5979, allocations: 489 kB / 0.6933 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.5979, allocations: 3.984 kB / 0.6933 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5979, allocations: 8 kB / 0.6933 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.598, allocations: 92.86 kB / 0.6934 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.598, allocations: 8 kB / 0.6934 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.5986, allocations: 19.97 kB / 0.6934 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.5986, allocations: 23.91 kB / 0.6934 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001217/0.5999, allocations: 0.5271 MB / 0.6939 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001182/0.6011, allocations: 0.7145 MB / 0.6946 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003069/0.6014, allocations: 155.9 kB / 0.6948 GB, free: 9.617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.6015, allocations: 95.27 kB / 0.6949 GB, free: 9.523 MB / 0.545 GB Notification: Performance of Backend: time 4.61e-07/0.6015, allocations: 7.938 kB / 0.6949 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.6034, allocations: 0.6439 MB / 0.6955 GB, free: 8.871 MB / 0.545 GB Notification: Performance of SimCode: time 0.001612/0.6051, allocations: 1.255 MB / 0.6967 GB, free: 7.562 MB / 0.545 GB Notification: Performance of Templates: time 0.01524/0.6203, allocations: 9.758 MB / 0.7063 GB, free: 13.82 MB / 0.5606 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