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.001697/0.001697, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.002059/0.002059, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.2655/0.2655, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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 1.663e-06/1.663e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.07e-05, allocations: 3.078 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3049/0.3049, allocations: 145 MB / 470.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3065, allocations: 2.244 MB / 472.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.3066, allocations: 0 / 472.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.3069, allocations: 56.22 kB / 472.6 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3079, allocations: 0.6415 MB / 473.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.3082, allocations: 112.4 kB / 473.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.3085, allocations: 261.2 kB / 473.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3085, allocations: 3.125 kB / 473.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.3088, allocations: 185.6 kB / 473.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.309, allocations: 86.06 kB / 473.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.309, allocations: 8.344 kB / 473.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008905/0.3099, allocations: 0.782 MB / 474.7 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.31, allocations: 94.66 kB / 474.7 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.31, allocations: 74.84 kB / 474.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000635/0.3107, allocations: 0.6794 MB / 475.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3107, allocations: 0 / 475.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3107, allocations: 0 / 475.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.3107, allocations: 2.406 kB / 475.5 MB, free: 12.26 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.0004534/0.3111, allocations: 409.9 kB / 475.9 MB, free: 11.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.3112, allocations: 12.91 kB / 475.9 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3122, allocations: 315.8 kB / 476.2 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.3125, allocations: 209 kB / 476.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3125, allocations: 13.94 kB / 476.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.3126, allocations: 21.28 kB / 476.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.3129, allocations: 460.8 kB / 476.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3129, allocations: 0 / 476.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.3129, allocations: 5.906 kB / 476.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.313, allocations: 8.438 kB / 476.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.3132, allocations: 209.8 kB / 477.1 MB, free: 11.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.0009437/0.3142, allocations: 0.6882 MB / 477.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3143, allocations: 166.5 kB / 478 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.788e-05/0.3144, allocations: 82.23 kB / 478.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.3147, allocations: 134.9 kB / 478.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3147, allocations: 45.16 kB / 478.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.3147, allocations: 0 / 478.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007895/0.3155, allocations: 347.8 kB / 478.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.3155, allocations: 83.98 kB / 478.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.3156, allocations: 136.7 kB / 478.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3156, allocations: 31.27 kB / 478.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.3157, allocations: 114.6 kB / 478.9 MB, free: 10.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.3157, allocations: 114.2 kB / 479 MB, free: 10.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.3158, allocations: 65.53 kB / 479.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.3158, allocations: 325.8 kB / 479.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.3159, allocations: 68.02 kB / 479.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.316, allocations: 167.8 kB / 479.7 MB, free: 10.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3162, allocations: 286.5 kB / 479.9 MB, free: 9.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3162, allocations: 0 / 479.9 MB, free: 9.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000304/0.3165, allocations: 280.1 kB / 480.2 MB, free: 9.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3166, allocations: 5.531 kB / 480.2 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3166, allocations: 7.281 kB / 480.2 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3166, allocations: 5.906 kB / 480.2 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3168, allocations: 79.33 kB / 480.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.3168, allocations: 11.31 kB / 480.3 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.317, allocations: 25.91 kB / 480.3 MB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.317, allocations: 18.08 kB / 480.4 MB, free: 9.891 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 8.311e-05/0.3171, allocations: 136 kB / 480.5 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.3172, allocations: 32.33 kB / 480.5 MB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.3175, allocations: 272.1 kB / 480.8 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3175, allocations: 2.344 kB / 480.8 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3175, allocations: 6.781 kB / 480.8 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3175, allocations: 1.922 kB / 480.8 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.3178, allocations: 193.5 kB / 481 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3178, allocations: 2.531 kB / 481 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.3181, allocations: 57.02 kB / 481 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3181, allocations: 3.406 kB / 481.1 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.3181, allocations: 8.812 kB / 481.1 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3181, allocations: 9.859 kB / 481.1 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3181, allocations: 0 / 481.1 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.3185, allocations: 0.5263 MB / 481.6 MB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.3185, allocations: 17.22 kB / 481.6 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.3185, allocations: 12.69 kB / 481.6 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.3187, allocations: 15.72 kB / 481.6 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.3188, allocations: 19.72 kB / 481.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.3188, allocations: 13.16 kB / 481.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.3188, allocations: 17.34 kB / 481.7 MB, free: 9.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3188, allocations: 4 kB / 481.7 MB, free: 9.312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.3192, allocations: 169.8 kB / 481.9 MB, free: 9.289 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.0005583/0.3198, allocations: 331.5 kB / 482.2 MB, free: 9.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.3201, allocations: 202.3 kB / 482.4 MB, free: 9.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3201, allocations: 0 / 482.4 MB, free: 9.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3202, allocations: 118 kB / 482.5 MB, free: 9.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3206, allocations: 100.4 kB / 482.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.3214, allocations: 0.5459 MB / 483.1 MB, free: 8.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.384e-05/0.3214, allocations: 87.84 kB / 483.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002467/0.3216, allocations: 77.77 kB / 483.3 MB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.322, allocations: 151.5 kB / 483.4 MB, free: 8.625 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.322, allocations: 0 / 483.4 MB, free: 8.625 MB / 410.7 MB Notification: Performance of Templates: time 0.00927/0.3312, allocations: 9.659 MB / 493.1 MB, free: 4.887 MB / 410.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 -s gbode -gbm=radauIIA3 -emit_protected -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.4318856769241393]