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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009667/0.0009667, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000978/0.000978, allocations: 168.5 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9939/0.9939, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1601/0.1601, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.877e-05, allocations: 2.312 kB / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3191/0.3191, allocations: 142.9 MB / 0.5079 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3209, allocations: 2.204 MB / 0.5101 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.321, allocations: 5.719 kB / 0.5101 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.3213, allocations: 51.22 kB / 0.5101 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3226, allocations: 0.6635 MB / 0.5108 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.3229, allocations: 107.2 kB / 0.5109 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.3232, allocations: 261 kB / 0.5111 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.3232, allocations: 2.812 kB / 0.5111 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.3235, allocations: 181.7 kB / 0.5113 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3237, allocations: 89.14 kB / 0.5114 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.3237, allocations: 8.688 kB / 0.5114 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.3252, allocations: 0.7766 MB / 0.5122 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.3253, allocations: 90.33 kB / 0.5122 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.3254, allocations: 74.05 kB / 0.5123 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.3263, allocations: 0.6889 MB / 0.513 GB, free: 14.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3263, allocations: 0 / 0.513 GB, free: 14.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3263, allocations: 0 / 0.513 GB, free: 14.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3263, allocations: 0 / 0.513 GB, free: 14.41 MB / 410.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.0005474/0.3269, allocations: 0.5407 MB / 0.5135 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3269, allocations: 12.58 kB / 0.5135 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.328, allocations: 296.6 kB / 0.5138 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.3283, allocations: 215.5 kB / 0.514 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3283, allocations: 12.64 kB / 0.514 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.3283, allocations: 21.59 kB / 0.514 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.3287, allocations: 488.8 kB / 0.5145 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3287, allocations: 2.219 kB / 0.5145 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.3287, allocations: 12.69 kB / 0.5145 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3288, allocations: 7.328 kB / 0.5145 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.3291, allocations: 248.9 kB / 0.5148 GB, free: 13.54 MB / 410.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.001041/0.3301, allocations: 0.8464 MB / 0.5156 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3303, allocations: 162.2 kB / 0.5158 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.3304, allocations: 94.53 kB / 0.5158 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/0.3307, allocations: 134.8 kB / 0.516 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3308, allocations: 41.05 kB / 0.516 GB, free: 12.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.444e-06/0.3308, allocations: 0 / 0.516 GB, free: 12.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009298/0.3317, allocations: 429.4 kB / 0.5164 GB, free: 12.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.3317, allocations: 83.48 kB / 0.5165 GB, free: 12.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.3318, allocations: 188.9 kB / 0.5167 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3318, allocations: 31.17 kB / 0.5167 GB, free: 12.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.3319, allocations: 163.9 kB / 0.5169 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.3319, allocations: 119.7 kB / 0.517 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.332, allocations: 76.55 kB / 0.5171 GB, free: 12.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.3321, allocations: 0.4969 MB / 0.5175 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.3321, allocations: 77.84 kB / 0.5176 GB, free: 11.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3323, allocations: 233.1 kB / 0.5178 GB, free: 11.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.3325, allocations: 331.5 kB / 0.5182 GB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3325, allocations: 2.938 kB / 0.5182 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003881/0.3329, allocations: 341.5 kB / 0.5185 GB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3329, allocations: 7.656 kB / 0.5185 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3329, allocations: 2.938 kB / 0.5185 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3329, allocations: 9.812 kB / 0.5185 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3332, allocations: 75.8 kB / 0.5186 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3332, allocations: 11.92 kB / 0.5186 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3334, allocations: 27.19 kB / 0.5186 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.3334, allocations: 20.41 kB / 0.5186 GB, free: 11.36 MB / 410.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.464e-05/0.3335, allocations: 181.8 kB / 0.5188 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.3336, allocations: 29.12 kB / 0.5188 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.334, allocations: 324.8 kB / 0.5191 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.334, allocations: 9.344 kB / 0.5192 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.334, allocations: 0 / 0.5192 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.334, allocations: 2.719 kB / 0.5192 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.3344, allocations: 285.5 kB / 0.5194 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3344, allocations: 2.391 kB / 0.5194 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.3346, allocations: 56.42 kB / 0.5195 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3346, allocations: 2.906 kB / 0.5195 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3347, allocations: 12.66 kB / 0.5195 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3347, allocations: 3.094 kB / 0.5195 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3347, allocations: 0 / 0.5195 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.3352, allocations: 0.6314 MB / 0.5201 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.3352, allocations: 23.53 kB / 0.5201 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.3352, allocations: 12.5 kB / 0.5202 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3354, allocations: 14.27 kB / 0.5202 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3354, allocations: 25.62 kB / 0.5202 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3355, allocations: 12.47 kB / 0.5202 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.577e-05/0.3355, allocations: 137.3 kB / 0.5203 GB, free: 10.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3355, allocations: 0 / 0.5203 GB, free: 10.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00051/0.336, allocations: 162.7 kB / 0.5205 GB, free: 10.45 MB / 410.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.000531/0.3365, allocations: 356.9 kB / 0.5208 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3368, allocations: 251.4 kB / 0.5211 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3368, allocations: 4.125 kB / 0.5211 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3369, allocations: 133.5 kB / 0.5212 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3374, allocations: 105.3 kB / 0.5213 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.3383, allocations: 0.6644 MB / 0.5219 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.3383, allocations: 87.31 kB / 0.522 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.3386, allocations: 72.67 kB / 0.5221 GB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.3389, allocations: 190 kB / 0.5223 GB, free: 9.609 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3389, allocations: 1.094 kB / 0.5223 GB, free: 9.609 MB / 410.7 MB Notification: Performance of Templates: time 0.009629/0.3485, allocations: 9.833 MB / 0.5319 GB, free: 5.973 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5854181610047817]