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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001964/0.001964, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 442.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.745e-05, allocations: 2.281 kB / 442.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4832/0.4832, allocations: 131.7 MB / 0.5608 GB, free: 2.016 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.486, allocations: 1.967 MB / 0.5628 GB, free: 60 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.4861, allocations: 4 kB / 0.5628 GB, free: 56 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.4865, allocations: 59.19 kB / 0.5628 GB, free: 0 / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.4885, allocations: 0.6605 MB / 0.5635 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.489, allocations: 115.7 kB / 0.5636 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.4894, allocations: 251 kB / 0.5638 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.4895, allocations: 7.984 kB / 0.5638 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.4899, allocations: 179.3 kB / 0.564 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.4901, allocations: 83.77 kB / 0.5641 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.4901, allocations: 8 kB / 0.5641 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.4919, allocations: 0.775 MB / 0.5648 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.4921, allocations: 87.77 kB / 0.5649 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4922, allocations: 79.81 kB / 0.565 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.4934, allocations: 0.717 MB / 0.5657 GB, free: 13.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4934, allocations: 0 / 0.5657 GB, free: 13.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4934, allocations: 0 / 0.5657 GB, free: 13.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4934, allocations: 0 / 0.5657 GB, free: 13.04 MB / 478.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.0008861/0.4943, allocations: 441.4 kB / 0.5661 GB, free: 12.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4944, allocations: 12.03 kB / 0.5661 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.4966, allocations: 276.5 kB / 0.5664 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.497, allocations: 221.5 kB / 0.5666 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.497, allocations: 12.7 kB / 0.5666 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/0.4971, allocations: 20.56 kB / 0.5666 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/0.4981, allocations: 0.649 MB / 0.5673 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4981, allocations: 0 / 0.5673 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.4981, allocations: 4 kB / 0.5673 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.4982, allocations: 11.98 kB / 0.5673 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.4992, allocations: 0.5756 MB / 0.5679 GB, free: 10.74 MB / 478.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.00236/0.5015, allocations: 0.9069 MB / 0.5687 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.502, allocations: 237.1 kB / 0.569 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.5023, allocations: 186.3 kB / 0.5691 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008845/0.5031, allocations: 151.8 kB / 0.5693 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.5032, allocations: 42.5 kB / 0.5693 GB, free: 9.164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.5032, allocations: 0 / 0.5693 GB, free: 9.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002183/0.5054, allocations: 0.6077 MB / 0.5699 GB, free: 8.555 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.5054, allocations: 81.11 kB / 0.57 GB, free: 8.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.5056, allocations: 129.8 kB / 0.5701 GB, free: 8.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.5057, allocations: 33.7 kB / 0.5702 GB, free: 8.281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.5057, allocations: 112.5 kB / 0.5703 GB, free: 8.164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.5059, allocations: 115 kB / 0.5704 GB, free: 8.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.506, allocations: 65.69 kB / 0.5704 GB, free: 7.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5062, allocations: 322.8 kB / 0.5707 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.5066, allocations: 187.9 kB / 0.5709 GB, free: 7.473 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.5071, allocations: 289.1 kB / 0.5712 GB, free: 7.145 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/0.508, allocations: 491.8 kB / 0.5717 GB, free: 6.621 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.508, allocations: 7.984 kB / 0.5717 GB, free: 6.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001035/0.509, allocations: 0.5186 MB / 0.5722 GB, free: 6.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.509, allocations: 4 kB / 0.5722 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.509, allocations: 11.92 kB / 0.5722 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.5091, allocations: 4 kB / 0.5722 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.5096, allocations: 80.3 kB / 0.5723 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5096, allocations: 12 kB / 0.5723 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.51, allocations: 35.77 kB / 0.5723 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.5101, allocations: 19.94 kB / 0.5723 GB, free: 5.926 MB / 478.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.000206/0.5103, allocations: 145.8 kB / 0.5725 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5104, allocations: 23.88 kB / 0.5725 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.5115, allocations: 499 kB / 0.573 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.5115, allocations: 4 kB / 0.573 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/0.5116, allocations: 0 / 0.573 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5116, allocations: 0 / 0.573 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.5123, allocations: 353.9 kB / 0.5733 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5123, allocations: 4 kB / 0.5733 GB, free: 4.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.5128, allocations: 56.78 kB / 0.5734 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.5128, allocations: 4 kB / 0.5734 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.5129, allocations: 11.98 kB / 0.5734 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.5129, allocations: 3.938 kB / 0.5734 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5129, allocations: 0 / 0.5734 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5141, allocations: 0.6784 MB / 0.5741 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.5141, allocations: 19.84 kB / 0.5741 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.5142, allocations: 16.8 kB / 0.5741 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.5147, allocations: 19.98 kB / 0.5741 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.5148, allocations: 27.89 kB / 0.5741 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.5148, allocations: 11.98 kB / 0.5742 GB, free: 4.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.483e-05/0.5149, allocations: 105.7 kB / 0.5743 GB, free: 3.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5149, allocations: 0 / 0.5743 GB, free: 3.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007941/0.5157, allocations: 163.6 kB / 0.5744 GB, free: 3.758 MB / 478.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.0008802/0.5166, allocations: 354.7 kB / 0.5747 GB, free: 3.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.5175, allocations: 416.2 kB / 0.5751 GB, free: 2.992 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5175, allocations: 0 / 0.5751 GB, free: 2.992 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.5179, allocations: 215.8 kB / 0.5753 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.5187, allocations: 88.27 kB / 0.5754 GB, free: 2.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.5201, allocations: 0.7112 MB / 0.5761 GB, free: 1.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.5203, allocations: 123.6 kB / 0.5762 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.5207, allocations: 113.8 kB / 0.5764 GB, free: 1.715 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.5209, allocations: 28.48 kB / 0.5764 GB, free: 1.688 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5209, allocations: 0 / 0.5764 GB, free: 1.688 MB / 478.1 MB Notification: Performance of Templates: time 0.01602/0.5369, allocations: 8.157 MB / 0.5843 GB, free: 9.621 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.702695816755295]