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.0007668/0.0007668, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001787, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006938/0.0006938, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000888/0.001582, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9881/0.9881, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1059/1.094, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.2807/0.2807, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02928/0.3099, allocations: 13.23 MB / 292.8 MB, free: 6.387 MB / 282.7 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.[0-9,]+.|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.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.528e-05, allocations: 3.438 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1701/0.1701, allocations: 145.4 MB / 439.5 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.172, allocations: 2.254 MB / 441.8 MB, free: 0.832 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.172, allocations: 4 kB / 441.8 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1723, allocations: 51.67 kB / 441.8 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008864/0.1732, allocations: 0.6371 MB / 442.5 MB, free: 140 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1734, allocations: 115.6 kB / 442.6 MB, free: 24 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.2147/0.3881, allocations: 256.5 kB / 442.8 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.3882, allocations: 7.234 kB / 442.8 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.3888, allocations: 181 kB / 443 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.3891, allocations: 81.31 kB / 443.1 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.3891, allocations: 8.406 kB / 443.1 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.3907, allocations: 0.7957 MB / 443.9 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.3908, allocations: 69.36 kB / 444 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.3908, allocations: 58.2 kB / 444 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008738/0.3917, allocations: 0.6058 MB / 444.6 MB, free: 4.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.3917, allocations: 0 / 444.6 MB, free: 4.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3917, allocations: 0 / 444.6 MB, free: 4.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3917, allocations: 0 / 444.6 MB, free: 4.152 MB / 426.7 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.0009071/0.3926, allocations: 0.489 MB / 445.1 MB, free: 19.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3927, allocations: 11.48 kB / 445.1 MB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.3938, allocations: 392.2 kB / 445.5 MB, free: 19.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.3941, allocations: 202.7 kB / 445.7 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3941, allocations: 15.7 kB / 445.7 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.3942, allocations: 16.69 kB / 445.7 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.3946, allocations: 466.9 kB / 446.2 MB, free: 19.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3946, allocations: 4.438 kB / 446.2 MB, free: 19.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.3946, allocations: 8.75 kB / 446.2 MB, free: 19.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.3946, allocations: 8.641 kB / 446.2 MB, free: 19.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.3949, allocations: 205.8 kB / 446.4 MB, free: 19.36 MB / 442.7 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.001061/0.396, allocations: 0.6691 MB / 447.1 MB, free: 19.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3962, allocations: 168.2 kB / 447.3 MB, free: 19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.3962, allocations: 78.08 kB / 447.3 MB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003455/0.3966, allocations: 133 kB / 447.5 MB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3966, allocations: 42.81 kB / 447.5 MB, free: 18.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.3966, allocations: 3.031 kB / 447.5 MB, free: 18.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007703/0.3974, allocations: 353.3 kB / 447.8 MB, free: 18.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.3974, allocations: 85.19 kB / 447.9 MB, free: 18.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.3975, allocations: 128.2 kB / 448.1 MB, free: 18.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3975, allocations: 32.3 kB / 448.1 MB, free: 18.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.3976, allocations: 113.9 kB / 448.2 MB, free: 18.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.3976, allocations: 115 kB / 448.3 MB, free: 18.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.3977, allocations: 61.23 kB / 448.4 MB, free: 18.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.3978, allocations: 329.8 kB / 448.7 MB, free: 18.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.3979, allocations: 67.08 kB / 448.8 MB, free: 18.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.744e-05/0.398, allocations: 167 kB / 448.9 MB, free: 18.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.3982, allocations: 292.4 kB / 449.2 MB, free: 17.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3982, allocations: 0.7812 kB / 449.2 MB, free: 17.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002887/0.3985, allocations: 279.3 kB / 449.5 MB, free: 17.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3985, allocations: 6.875 kB / 449.5 MB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3985, allocations: 3.5 kB / 449.5 MB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3985, allocations: 6.312 kB / 449.5 MB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.3988, allocations: 89.45 kB / 449.6 MB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.3988, allocations: 12.84 kB / 449.6 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3989, allocations: 25.38 kB / 449.6 MB, free: 17.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.3989, allocations: 18.66 kB / 449.6 MB, free: 17.82 MB / 442.7 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 9.883e-05/0.399, allocations: 136.4 kB / 449.8 MB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.3991, allocations: 37.61 kB / 449.8 MB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3994, allocations: 260.7 kB / 450.1 MB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3994, allocations: 5.891 kB / 450.1 MB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3994, allocations: 7.406 kB / 450.1 MB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3994, allocations: 2.906 kB / 450.1 MB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.3997, allocations: 195.1 kB / 450.3 MB, free: 17.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3997, allocations: 0 / 450.3 MB, free: 17.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.3999, allocations: 67.33 kB / 450.3 MB, free: 17.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.4, allocations: 14.36 kB / 450.4 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4, allocations: 3.656 kB / 450.4 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4, allocations: 9.344 kB / 450.4 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4, allocations: 0 / 450.4 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4, allocations: 3.562 kB / 450.4 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.4005, allocations: 0.5371 MB / 450.9 MB, free: 17.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.4006, allocations: 6.875 kB / 450.9 MB, free: 17.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.4007, allocations: 15.17 kB / 450.9 MB, free: 17.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.4008, allocations: 22.59 kB / 450.9 MB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.4008, allocations: 16.41 kB / 451 MB, free: 17.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.057e-05/0.4008, allocations: 19.88 kB / 451 MB, free: 17.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4008, allocations: 0 / 451 MB, free: 17.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000419/0.4012, allocations: 169.7 kB / 451.2 MB, free: 17.24 MB / 442.7 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.0005566/0.4018, allocations: 328.5 kB / 451.5 MB, free: 17.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.4021, allocations: 217.5 kB / 451.7 MB, free: 17.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.4021, allocations: 3 kB / 451.7 MB, free: 17.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.4022, allocations: 129.7 kB / 451.8 MB, free: 17.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.4026, allocations: 242.1 kB / 452 MB, free: 17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4047, allocations: 0.4994 MB / 452.5 MB, free: 16.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.4048, allocations: 87.58 kB / 452.6 MB, free: 16.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000275/0.405, allocations: 81.45 kB / 452.7 MB, free: 16.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.4053, allocations: 148.6 kB / 452.9 MB, free: 16.59 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4053, allocations: 0.9375 kB / 452.9 MB, free: 16.59 MB / 442.7 MB Notification: Performance of Templates: time 0.00977/0.4151, allocations: 9.696 MB / 462.6 MB, free: 15.81 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.399244992993772]