Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008577/0.008577, allocations: 1.791 MB / 21.89 MB, free: 2.641 MB / 18.57 MB " [Timeout remaining time 180] 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.0008556/0.0008556, allocations: 85.11 kB / 25.61 MB, free: 6.98 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.0009154/0.0009154, allocations: 168.9 kB / 29.46 MB, free: 3.18 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 / 210.3 MB, free: 3.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6888/0.6888, allocations: 102.4 MB / 369.8 MB, free: 372 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|verticalMill_L3_1.T_out|verticalMill_L3_1.mass_pca|verticalMill_L3_1.mass_pct|verticalMill_L3_1.mass_rct|verticalMill_L3_1.xi_wc_out.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester") translateModel(ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|verticalMill_L3_1.T_out|verticalMill_L3_1.mass_pca|verticalMill_L3_1.mass_pct|verticalMill_L3_1.mass_rct|verticalMill_L3_1.xi_wc_out.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 469.8 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.716e-05, allocations: 4.281 kB / 469.8 MB, free: 18.96 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester): time 0.1249/0.1249, allocations: 61.28 MB / 0.5187 GB, free: 11.04 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02316/0.1481, allocations: 20.27 MB / 0.5385 GB, free: 6.707 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.1496, allocations: 43.81 kB / 0.5385 GB, free: 6.664 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.1523, allocations: 1.325 MB / 0.5398 GB, free: 5.332 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.155, allocations: 1.472 MB / 0.5412 GB, free: 3.852 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006063/0.1611, allocations: 3.411 MB / 0.5446 GB, free: 436 kB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.005614/0.1667, allocations: 4.146 MB / 0.5486 GB, free: 12.27 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003677/0.1704, allocations: 3.112 MB / 0.5517 GB, free: 9.109 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/0.1761, allocations: 3.494 MB / 0.5551 GB, free: 5.609 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.1801, allocations: 2.715 MB / 0.5577 GB, free: 2.891 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.1816, allocations: 0.6602 MB / 0.5584 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007239/0.1889, allocations: 4.045 MB / 0.5623 GB, free: 14.18 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003744/0.1926, allocations: 3.477 MB / 0.5657 GB, free: 10.69 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00419/0.1968, allocations: 2.448 MB / 0.5681 GB, free: 8.238 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.2128, allocations: 10.11 MB / 0.578 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2128, allocations: 0 / 0.578 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2128, allocations: 3.984 kB / 0.578 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002484/0.2131, allocations: 4 kB / 0.578 GB, free: 14.09 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01289/0.2259, allocations: 8.787 MB / 0.5866 GB, free: 5.207 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.226, allocations: 8.031 kB / 0.5866 GB, free: 5.199 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.2279, allocations: 0.9338 MB / 0.5875 GB, free: 4.262 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.2385, allocations: 7.432 MB / 0.5947 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.2387, allocations: 195.6 kB / 0.5949 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005665/0.2392, allocations: 324.3 kB / 0.5952 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.2497, allocations: 13.29 MB / 0.6082 GB, free: 11.68 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.2497, allocations: 3.938 kB / 0.6082 GB, free: 11.68 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003959/0.2501, allocations: 132 kB / 0.6084 GB, free: 11.55 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.2502, allocations: 184 kB / 0.6085 GB, free: 11.37 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007806/0.2581, allocations: 4.363 MB / 0.6128 GB, free: 6.977 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.2758, allocations: 11.71 MB / 0.6242 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00479/0.2806, allocations: 2.025 MB / 0.6262 GB, free: 9.066 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.2819, allocations: 0.7316 MB / 0.6269 GB, free: 8.328 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/0.2823, allocations: 305.8 kB / 0.6272 GB, free: 8.031 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.2824, allocations: 76.05 kB / 0.6273 GB, free: 7.945 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=208): time 5.14e-06/0.2824, allocations: 0 / 0.6273 GB, free: 7.945 MB / 0.5418 GB Notification: Performance of matching and sorting (n=208): time 0.01152/0.2939, allocations: 4.606 MB / 0.6318 GB, free: 3.32 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004893/0.2944, allocations: 1.774 MB / 0.6335 GB, free: 1.121 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008412/0.3028, allocations: 6.191 MB / 0.6396 GB, free: 10.95 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004945/0.3033, allocations: 69.7 kB / 0.6396 GB, free: 10.88 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.3054, allocations: 2.69 MB / 0.6422 GB, free: 8.176 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008356/0.3062, allocations: 0.7476 MB / 0.643 GB, free: 7.422 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.3075, allocations: 0.7605 MB / 0.6437 GB, free: 6.652 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.3076, allocations: 484.7 kB / 0.6442 GB, free: 6.176 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.3089, allocations: 0.7271 MB / 0.6449 GB, free: 5.445 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/0.3115, allocations: 3.71 MB / 0.6485 GB, free: 0.7617 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2058/0.5174, allocations: 2.336 MB / 0.6508 GB, free: 142.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/0.5174, allocations: 2.875 kB / 0.6508 GB, free: 142.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006425/0.5238, allocations: 3.119 MB / 0.6538 GB, free: 142.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.5239, allocations: 11.72 kB / 0.6539 GB, free: 142.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.5239, allocations: 14.5 kB / 0.6539 GB, free: 142.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.5256, allocations: 0.6064 MB / 0.6545 GB, free: 142.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.5276, allocations: 0.5915 MB / 0.655 GB, free: 142.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.53, allocations: 4.124 MB / 0.6591 GB, free: 138.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/0.5332, allocations: 273.6 kB / 0.6593 GB, free: 138.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005337/0.5337, allocations: 192.2 kB / 0.6595 GB, free: 138.5 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (277): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,26), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001545/0.5353, allocations: 328.4 kB / 0.6598 GB, free: 138.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/0.5366, allocations: 0.6819 MB / 0.6605 GB, free: 138.3 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004912/0.5415, allocations: 3.163 MB / 0.6636 GB, free: 138.1 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.5415, allocations: 22.48 kB / 0.6636 GB, free: 138.1 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5415, allocations: 2.688 kB / 0.6636 GB, free: 138.1 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.5415, allocations: 13.53 kB / 0.6636 GB, free: 138.1 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.5523, allocations: 6.076 MB / 0.6695 GB, free: 137.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.5523, allocations: 5.281 kB / 0.6696 GB, free: 137.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.5538, allocations: 412.8 kB / 0.6699 GB, free: 137.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009624/0.5548, allocations: 352.5 kB / 0.6703 GB, free: 137.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/0.5551, allocations: 74.48 kB / 0.6704 GB, free: 137.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007442/0.5558, allocations: 1.801 MB / 0.6721 GB, free: 135.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5558, allocations: 1.688 kB / 0.6721 GB, free: 135.7 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006817/0.5626, allocations: 3.636 MB / 0.6757 GB, free: 134.6 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008277/0.5709, allocations: 3.999 MB / 0.6796 GB, free: 133.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/0.5723, allocations: 50.77 kB / 0.6796 GB, free: 133.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.5742, allocations: 84.72 kB / 0.6797 GB, free: 133.2 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005086/0.5747, allocations: 198.1 kB / 0.6799 GB, free: 133.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003589/0.5751, allocations: 203 kB / 0.6801 GB, free: 133.1 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007532/0.5826, allocations: 3.537 MB / 0.6835 GB, free: 132.2 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5826, allocations: 0 / 0.6835 GB, free: 132.2 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.005101/0.5877, allocations: 1.287 MB / 0.6848 GB, free: 132.1 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (verticalMill_L3_1.mass_rct,verticalMill_L3_1.mass_pct,verticalMill_L3_1.mass_pca,verticalMill_L3_1.xi_wc_out[1],verticalMill_L3_1.xi_wc_out[2],verticalMill_L3_1.T_out) * 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 (181): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {22} * Without analytic Jacobian (size): 1 system {4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003126/0.5908, allocations: 1.175 MB / 0.6859 GB, free: 131.9 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.005544/0.5964, allocations: 2.301 MB / 0.6882 GB, free: 131.4 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.5964, allocations: 4.781 kB / 0.6882 GB, free: 131.4 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.5989, allocations: 1.098 MB / 0.6893 GB, free: 131.2 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/0.6039, allocations: 1.1 MB / 0.6903 GB, free: 130.9 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.6193, allocations: 8.817 MB / 0.6989 GB, free: 126.6 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/0.6211, allocations: 1.213 MB / 0.7001 GB, free: 125.9 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.003594/0.6247, allocations: 1.046 MB / 0.7012 GB, free: 125.6 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.626, allocations: 447.5 kB / 0.7016 GB, free: 125.5 MB / 0.5574 GB Notification: Performance of SimCode: time 2.555e-06/0.626, allocations: 0 / 0.7016 GB, free: 125.5 MB / 0.5574 GB Notification: Performance of Templates: time 0.08122/0.7072, allocations: 75.29 MB / 0.7751 GB, free: 53.34 MB / 0.5574 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe >> ../files/ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.sim & ./ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 6.745436009019613]