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.0013/0.0013, allocations: 88.28 kB / 21.44 MB, free: 3.125 MB / 18.57 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.005495/0.005495, allocations: 152.1 kB / 24.69 MB, free: 8.902 MB / 18.57 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.932/0.932, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.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.2401/0.2401, allocations: 34.23 MB / 295.6 MB, free: 0.6523 MB / 266.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.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.312e-06/1.312e-06, allocations: 0 / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.074e-05, allocations: 2.281 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.284/0.284, allocations: 131.7 MB / 0.5616 GB, free: 12.5 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.2858, allocations: 1.966 MB / 0.5635 GB, free: 10.53 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.2858, allocations: 0 / 0.5635 GB, free: 10.53 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.2862, allocations: 59.61 kB / 0.5636 GB, free: 10.47 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.2875, allocations: 0.6527 MB / 0.5642 GB, free: 9.812 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.2877, allocations: 112.5 kB / 0.5643 GB, free: 9.703 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.288, allocations: 262.9 kB / 0.5646 GB, free: 9.445 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.288, allocations: 4 kB / 0.5646 GB, free: 9.441 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.2883, allocations: 179.4 kB / 0.5647 GB, free: 9.266 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2885, allocations: 87.75 kB / 0.5648 GB, free: 9.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2885, allocations: 8 kB / 0.5648 GB, free: 9.172 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.2895, allocations: 0.775 MB / 0.5656 GB, free: 8.395 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.2896, allocations: 87.78 kB / 0.5657 GB, free: 8.309 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.2896, allocations: 79.81 kB / 0.5657 GB, free: 8.23 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.2904, allocations: 0.7169 MB / 0.5664 GB, free: 7.512 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2904, allocations: 3.984 kB / 0.5664 GB, free: 7.508 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2904, allocations: 0 / 0.5664 GB, free: 7.508 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2904, allocations: 0 / 0.5664 GB, free: 7.508 MB / 474.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.0006995/0.2911, allocations: 438.2 kB / 0.5669 GB, free: 7.055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2912, allocations: 12.03 kB / 0.5669 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.2922, allocations: 283.2 kB / 0.5671 GB, free: 6.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.2925, allocations: 221.5 kB / 0.5674 GB, free: 6.527 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2926, allocations: 8.703 kB / 0.5674 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.2926, allocations: 24.12 kB / 0.5674 GB, free: 6.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.2932, allocations: 0.6434 MB / 0.568 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2932, allocations: 0 / 0.568 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.2932, allocations: 7.984 kB / 0.568 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.2933, allocations: 11.94 kB / 0.568 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.2938, allocations: 0.5753 MB / 0.5686 GB, free: 5.211 MB / 474.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.001412/0.2952, allocations: 0.9069 MB / 0.5695 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.2955, allocations: 237 kB / 0.5697 GB, free: 4.031 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.2957, allocations: 180.5 kB / 0.5699 GB, free: 3.852 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.2962, allocations: 159.8 kB / 0.57 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2962, allocations: 38.5 kB / 0.5701 GB, free: 3.648 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.2962, allocations: 0 / 0.5701 GB, free: 3.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001095/0.2973, allocations: 0.6042 MB / 0.5707 GB, free: 3.043 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.2973, allocations: 85.05 kB / 0.5707 GB, free: 2.941 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.2974, allocations: 137.8 kB / 0.5709 GB, free: 2.797 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2974, allocations: 33.7 kB / 0.5709 GB, free: 2.758 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.2975, allocations: 112.5 kB / 0.571 GB, free: 2.645 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/0.2976, allocations: 115 kB / 0.5711 GB, free: 2.531 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.2976, allocations: 61.7 kB / 0.5712 GB, free: 2.465 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.2977, allocations: 326.8 kB / 0.5715 GB, free: 2.137 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.2979, allocations: 183.9 kB / 0.5717 GB, free: 1.957 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.2982, allocations: 292.2 kB / 0.5719 GB, free: 1.629 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.2987, allocations: 491.7 kB / 0.5724 GB, free: 1.105 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2987, allocations: 4 kB / 0.5724 GB, free: 1.102 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005739/0.2993, allocations: 0.5092 MB / 0.5729 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2993, allocations: 19.91 kB / 0.5729 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2993, allocations: 4 kB / 0.5729 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2993, allocations: 6.688 kB / 0.5729 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.2995, allocations: 79.89 kB / 0.573 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2995, allocations: 11.98 kB / 0.573 GB, free: 480 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2997, allocations: 31.83 kB / 0.5731 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.2997, allocations: 16 kB / 0.5731 GB, free: 432 kB / 474.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 0.0001103/0.2998, allocations: 149.6 kB / 0.5732 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.2999, allocations: 23.84 kB / 0.5732 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.3005, allocations: 492.3 kB / 0.5737 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3005, allocations: 8 kB / 0.5737 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3005, allocations: 0 / 0.5737 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3005, allocations: 3.984 kB / 0.5737 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.3009, allocations: 355.3 kB / 0.5741 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3009, allocations: 0 / 0.5741 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.3011, allocations: 55.95 kB / 0.5741 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3011, allocations: 4 kB / 0.5741 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.3011, allocations: 15.92 kB / 0.5741 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3011, allocations: 3.938 kB / 0.5741 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3011, allocations: 0 / 0.5741 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.3018, allocations: 0.6841 MB / 0.5748 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.3018, allocations: 19.84 kB / 0.5748 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3018, allocations: 15.19 kB / 0.5748 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.3021, allocations: 23.95 kB / 0.5749 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3021, allocations: 19.97 kB / 0.5749 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.3021, allocations: 11.98 kB / 0.5749 GB, free: 14.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.3022, allocations: 104.2 kB / 0.575 GB, free: 14.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3022, allocations: 0 / 0.575 GB, free: 14.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004423/0.3026, allocations: 163.6 kB / 0.5751 GB, free: 14.27 MB / 490.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.0005511/0.3032, allocations: 358.6 kB / 0.5755 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004924/0.3037, allocations: 411.6 kB / 0.5759 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3037, allocations: 0 / 0.5759 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.3039, allocations: 218.9 kB / 0.5761 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.3043, allocations: 91.84 kB / 0.5762 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.3051, allocations: 0.733 MB / 0.5769 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.3052, allocations: 119.6 kB / 0.577 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3053, allocations: 36.48 kB / 0.577 GB, free: 12.28 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3053, allocations: 4 kB / 0.577 GB, free: 12.28 MB / 490.7 MB Notification: Performance of Templates: time 0.006496/0.3118, allocations: 6.886 MB / 0.5838 GB, free: 5.406 MB / 490.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=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.4865871872752905]