Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001158/0.001158, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002675, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001033/0.001033, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.0024, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.107/1.126, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2811/0.2811, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02769/0.3088, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.277e-05, allocations: 3.078 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1402/0.1403, allocations: 145.4 MB / 438 MB, free: 4.316 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1424, allocations: 2.255 MB / 440.3 MB, free: 2.051 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.1424, allocations: 4 kB / 440.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1426, allocations: 47.67 kB / 440.3 MB, free: 2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008781/0.1435, allocations: 0.641 MB / 441 MB, free: 1.355 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1437, allocations: 107.6 kB / 441.1 MB, free: 1.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.144, allocations: 274.9 kB / 441.4 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.144, allocations: 4 kB / 441.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.1442, allocations: 183.4 kB / 441.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1444, allocations: 79.77 kB / 441.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1444, allocations: 8 kB / 441.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1893/0.3337, allocations: 0.7881 MB / 442.4 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.3339, allocations: 71.41 kB / 442.5 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.334, allocations: 59.84 kB / 442.5 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.3352, allocations: 0.602 MB / 443.1 MB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.3352, allocations: 0.9375 kB / 443.1 MB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3352, allocations: 0.75 kB / 443.1 MB, free: 4.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3352, allocations: 0 / 443.1 MB, free: 4.367 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.0005657/0.3358, allocations: 0.4971 MB / 443.6 MB, free: 20.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.3358, allocations: 8.719 kB / 443.7 MB, free: 20.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009759/0.3368, allocations: 385 kB / 444 MB, free: 19.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.337, allocations: 206.5 kB / 444.2 MB, free: 19.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.337, allocations: 15.42 kB / 444.2 MB, free: 19.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.337, allocations: 20.92 kB / 444.3 MB, free: 19.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.3374, allocations: 457.5 kB / 444.7 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3374, allocations: 7.328 kB / 444.7 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3374, allocations: 6.5 kB / 444.7 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.3374, allocations: 8.688 kB / 444.7 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3377, allocations: 204.7 kB / 444.9 MB, free: 19.6 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.0009235/0.3386, allocations: 0.6792 MB / 445.6 MB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.3387, allocations: 169.9 kB / 445.8 MB, free: 19.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.3388, allocations: 70.89 kB / 445.8 MB, free: 19.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.3391, allocations: 139.1 kB / 446 MB, free: 19.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3391, allocations: 38.91 kB / 446 MB, free: 19.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.3391, allocations: 0 / 446 MB, free: 19.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006949/0.3398, allocations: 355.3 kB / 446.4 MB, free: 19.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.3399, allocations: 84.55 kB / 446.5 MB, free: 19.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.3399, allocations: 125.6 kB / 446.6 MB, free: 18.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3399, allocations: 34.86 kB / 446.6 MB, free: 18.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.34, allocations: 114.3 kB / 446.7 MB, free: 18.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.34, allocations: 110.7 kB / 446.8 MB, free: 18.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.3401, allocations: 63.97 kB / 446.9 MB, free: 18.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.3402, allocations: 326.8 kB / 447.2 MB, free: 18.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.3402, allocations: 65.5 kB / 447.3 MB, free: 18.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3403, allocations: 170.5 kB / 447.4 MB, free: 18.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3405, allocations: 289.5 kB / 447.7 MB, free: 18.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3405, allocations: 1.031 kB / 447.7 MB, free: 18.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002735/0.3408, allocations: 279.5 kB / 448 MB, free: 18.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3408, allocations: 7.531 kB / 448 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3408, allocations: 3.406 kB / 448 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.3408, allocations: 6.219 kB / 448 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.3411, allocations: 86.97 kB / 448.1 MB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3411, allocations: 11.03 kB / 448.1 MB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3412, allocations: 33.09 kB / 448.1 MB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.3413, allocations: 17.08 kB / 448.2 MB, free: 18.06 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 8.792e-05/0.3413, allocations: 132.5 kB / 448.3 MB, free: 17.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.3414, allocations: 34.39 kB / 448.3 MB, free: 17.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.3417, allocations: 264.6 kB / 448.6 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3417, allocations: 4.094 kB / 448.6 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.3417, allocations: 5.031 kB / 448.6 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3417, allocations: 4.719 kB / 448.6 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.342, allocations: 194.5 kB / 448.8 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.342, allocations: 1.188 kB / 448.8 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.3423, allocations: 63.75 kB / 448.8 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.3423, allocations: 14.8 kB / 448.9 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3423, allocations: 4.031 kB / 448.9 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3423, allocations: 12.23 kB / 448.9 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3423, allocations: 0 / 448.9 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3423, allocations: 6.234 kB / 448.9 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.3427, allocations: 0.5347 MB / 449.4 MB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3427, allocations: 10.55 kB / 449.4 MB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.3429, allocations: 18.75 kB / 449.4 MB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.3429, allocations: 18.72 kB / 449.5 MB, free: 17.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3429, allocations: 16.75 kB / 449.5 MB, free: 17.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.604e-05/0.3429, allocations: 19.59 kB / 449.5 MB, free: 17.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3429, allocations: 0 / 449.5 MB, free: 17.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003736/0.3433, allocations: 167.2 kB / 449.7 MB, free: 17.48 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.0004905/0.3438, allocations: 334.5 kB / 450 MB, free: 17.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.344, allocations: 216.6 kB / 450.2 MB, free: 17.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.344, allocations: 2.781 kB / 450.2 MB, free: 17.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.3441, allocations: 114 kB / 450.3 MB, free: 17.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3445, allocations: 123.5 kB / 450.4 MB, free: 17.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3465, allocations: 0.4969 MB / 450.9 MB, free: 17.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.135e-05/0.3466, allocations: 93.8 kB / 451 MB, free: 17.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.3468, allocations: 81.02 kB / 451.1 MB, free: 17.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.3471, allocations: 145.4 kB / 451.2 MB, free: 16.96 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3471, allocations: 3 kB / 451.2 MB, free: 16.96 MB / 442.7 MB Notification: Performance of Templates: time 0.009229/0.3563, allocations: 9.893 MB / 461.1 MB, free: 16.17 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4352440582588315]