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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002406, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007113/0.0007113, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001741, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9449/0.9449, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1818/1.127, allocations: 52.48 MB / 238.5 MB, free: 7.613 MB / 234.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.1353/0.1353, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04974/0.1851, allocations: 12.53 MB / 284.5 MB, free: 9.711 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.172e-06/1.172e-06, allocations: 0 / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.527e-05, allocations: 5.406 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2736/0.2736, allocations: 142.5 MB / 428.3 MB, free: 10.08 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2756, allocations: 2.249 MB / 430.6 MB, free: 7.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.2757, allocations: 3.938 kB / 430.6 MB, free: 7.836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.2759, allocations: 47.73 kB / 430.6 MB, free: 7.789 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.2772, allocations: 0.6449 MB / 431.3 MB, free: 7.152 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.2775, allocations: 111.6 kB / 431.4 MB, free: 7.043 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005582/0.278, allocations: 266.9 kB / 431.7 MB, free: 6.781 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.2781, allocations: 4 kB / 431.7 MB, free: 6.777 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.2783, allocations: 171.5 kB / 431.8 MB, free: 6.609 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.2785, allocations: 87.77 kB / 431.9 MB, free: 6.523 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2785, allocations: 8 kB / 431.9 MB, free: 6.516 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2795, allocations: 0.7867 MB / 432.7 MB, free: 5.727 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.2796, allocations: 67.88 kB / 432.8 MB, free: 5.66 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.2797, allocations: 68.44 kB / 432.8 MB, free: 5.594 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.2804, allocations: 0.5883 MB / 433.4 MB, free: 5.004 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.2804, allocations: 4 kB / 433.4 MB, free: 5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2804, allocations: 0 / 433.4 MB, free: 5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.2804, allocations: 4 kB / 433.4 MB, free: 4.996 MB / 394.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.0005866/0.281, allocations: 495.6 kB / 433.9 MB, free: 4.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.281, allocations: 12.02 kB / 433.9 MB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.2821, allocations: 385.4 kB / 434.3 MB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2823, allocations: 205.5 kB / 434.5 MB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2824, allocations: 8.703 kB / 434.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.2824, allocations: 25.81 kB / 434.6 MB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.2828, allocations: 469.6 kB / 435 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2828, allocations: 0 / 435 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.2828, allocations: 4 kB / 435 MB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.2828, allocations: 15.98 kB / 435 MB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.2831, allocations: 212 kB / 435.2 MB, free: 3.09 MB / 394.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.0009853/0.2841, allocations: 0.668 MB / 435.9 MB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2843, allocations: 165 kB / 436.1 MB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.2843, allocations: 73.84 kB / 436.1 MB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.2847, allocations: 140.4 kB / 436.3 MB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2847, allocations: 34.56 kB / 436.3 MB, free: 1.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.143e-06/0.2847, allocations: 0 / 436.3 MB, free: 1.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007405/0.2854, allocations: 352.6 kB / 436.7 MB, free: 1.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2855, allocations: 85.05 kB / 436.7 MB, free: 1.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.2855, allocations: 134.6 kB / 436.9 MB, free: 1.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2856, allocations: 29.7 kB / 436.9 MB, free: 1.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.2856, allocations: 104.6 kB / 437 MB, free: 1.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.2857, allocations: 119 kB / 437.1 MB, free: 1.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.2858, allocations: 65.66 kB / 437.2 MB, free: 1.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.2858, allocations: 330.7 kB / 437.5 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.2859, allocations: 62.81 kB / 437.6 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.286, allocations: 169.8 kB / 437.7 MB, free: 440 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.2862, allocations: 296.5 kB / 438 MB, free: 100 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2862, allocations: 0 / 438 MB, free: 100 kB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002994/0.2865, allocations: 274.8 kB / 438.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2866, allocations: 8 kB / 438.3 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2866, allocations: 4 kB / 438.3 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2866, allocations: 7.984 kB / 438.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.2868, allocations: 91.83 kB / 438.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2868, allocations: 4 kB / 438.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.287, allocations: 28.25 kB / 438.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.287, allocations: 19.98 kB / 438.4 MB, free: 15.66 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.174e-05/0.2871, allocations: 136.5 kB / 438.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.2872, allocations: 35.81 kB / 438.6 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.2877, allocations: 268.4 kB / 438.9 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2877, allocations: 4 kB / 438.9 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2877, allocations: 7.938 kB / 438.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2877, allocations: 0 / 438.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.2881, allocations: 193.6 kB / 439.1 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2881, allocations: 0 / 439.1 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.2883, allocations: 63.89 kB / 439.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.2883, allocations: 15.89 kB / 439.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2883, allocations: 0 / 439.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.2883, allocations: 15.98 kB / 439.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2883, allocations: 5.438 kB / 439.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2883, allocations: 3.938 kB / 439.2 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.2887, allocations: 0.5213 MB / 439.7 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2888, allocations: 11.98 kB / 439.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2889, allocations: 15.97 kB / 439.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.289, allocations: 27.84 kB / 439.8 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.289, allocations: 11.98 kB / 439.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.039e-05/0.289, allocations: 28.78 kB / 439.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.289, allocations: 0 / 439.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.2894, allocations: 159.6 kB / 440 MB, free: 14.11 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.000538/0.29, allocations: 321.9 kB / 440.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.2902, allocations: 220.2 kB / 440.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.2902, allocations: 12.17 kB / 440.5 MB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2903, allocations: 124.7 kB / 440.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.2907, allocations: 236.4 kB / 440.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.2929, allocations: 0.5069 MB / 441.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.2929, allocations: 93.53 kB / 441.4 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.2932, allocations: 70.45 kB / 441.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.2935, allocations: 149.2 kB / 441.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2935, allocations: 0 / 441.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of Templates: time 0.01006/0.3035, allocations: 9.658 MB / 451.3 MB, free: 2.754 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.239106501452625]