Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.0122/0.0122, allocations: 1.798 MB / 21.35 MB, free: 3.191 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.001285/0.001285, allocations: 89.53 kB / 25.16 MB, free: 7.426 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.00122/0.00122, allocations: 159.4 kB / 29.05 MB, free: 3.648 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.999/0.999, allocations: 177.2 MB / 210 MB, free: 3.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6441/0.6441, allocations: 102.5 MB / 369.5 MB, free: 392 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 470 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.988e-05, allocations: 4.312 kB / 470 MB, free: 19.02 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.1268/0.1269, allocations: 61.37 MB / 0.5189 GB, free: 10.57 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02353/0.1504, allocations: 20.31 MB / 0.5387 GB, free: 6.199 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.1528, allocations: 43.81 kB / 0.5387 GB, free: 6.156 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003959/0.1568, allocations: 1.329 MB / 0.54 GB, free: 4.82 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.1607, allocations: 1.476 MB / 0.5415 GB, free: 3.336 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007149/0.1679, allocations: 3.423 MB / 0.5448 GB, free: 15.9 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005495/0.1734, allocations: 4.143 MB / 0.5489 GB, free: 11.75 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003748/0.1771, allocations: 3.119 MB / 0.5519 GB, free: 8.578 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005785/0.1829, allocations: 3.497 MB / 0.5553 GB, free: 5.074 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.1872, allocations: 2.703 MB / 0.558 GB, free: 2.371 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.1886, allocations: 0.6602 MB / 0.5586 GB, free: 1.711 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007977/0.1966, allocations: 4.045 MB / 0.5626 GB, free: 13.66 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004062/0.2006, allocations: 3.477 MB / 0.566 GB, free: 10.17 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003982/0.2046, allocations: 2.44 MB / 0.5683 GB, free: 7.727 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.2205, allocations: 10.13 MB / 0.5782 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2206, allocations: 0 / 0.5782 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2206, allocations: 0 / 0.5782 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002183/0.2208, allocations: 0 / 0.5782 GB, free: 13.57 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.01279/0.2336, allocations: 8.787 MB / 0.5868 GB, free: 4.688 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.2336, allocations: 12.03 kB / 0.5868 GB, free: 4.676 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.2356, allocations: 0.9338 MB / 0.5877 GB, free: 3.738 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.2471, allocations: 7.443 MB / 0.595 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.2474, allocations: 191.6 kB / 0.5952 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007479/0.2481, allocations: 324.3 kB / 0.5955 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.2595, allocations: 13.29 MB / 0.6085 GB, free: 11.15 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.2595, allocations: 7.938 kB / 0.6085 GB, free: 11.14 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.2599, allocations: 128 kB / 0.6086 GB, free: 11.02 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.26, allocations: 184 kB / 0.6088 GB, free: 10.84 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006932/0.267, allocations: 4.364 MB / 0.613 GB, free: 6.445 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.2844, allocations: 11.71 MB / 0.6245 GB, free: 10.59 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/0.2886, allocations: 2.013 MB / 0.6265 GB, free: 8.547 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.2896, allocations: 0.7432 MB / 0.6272 GB, free: 7.797 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004191/0.2901, allocations: 309.8 kB / 0.6275 GB, free: 7.496 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.907e-05/0.2901, allocations: 72.05 kB / 0.6275 GB, free: 7.414 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=208): time 5.781e-06/0.2901, allocations: 0 / 0.6275 GB, free: 7.414 MB / 0.5418 GB Notification: Performance of matching and sorting (n=208): time 0.01048/0.3006, allocations: 4.598 MB / 0.632 GB, free: 2.797 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005925/0.3012, allocations: 1.785 MB / 0.6338 GB, free: 0.5859 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007946/0.3092, allocations: 6.184 MB / 0.6398 GB, free: 10.43 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003515/0.3095, allocations: 73.7 kB / 0.6399 GB, free: 10.35 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.3113, allocations: 2.694 MB / 0.6425 GB, free: 7.641 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000637/0.312, allocations: 0.7398 MB / 0.6432 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.313, allocations: 0.7644 MB / 0.644 GB, free: 6.121 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3131, allocations: 480.8 kB / 0.6444 GB, free: 5.648 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.3143, allocations: 0.7271 MB / 0.6452 GB, free: 4.918 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.3167, allocations: 3.71 MB / 0.6488 GB, free: 240 kB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2663/0.583, allocations: 2.331 MB / 0.6511 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.583, allocations: 5.156 kB / 0.6511 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005897/0.5889, allocations: 3.131 MB / 0.6541 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.589, allocations: 12.88 kB / 0.6541 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.589, allocations: 15.66 kB / 0.6541 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.5908, allocations: 0.5956 MB / 0.6547 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.5926, allocations: 0.5863 MB / 0.6553 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.5947, allocations: 4.132 MB / 0.6593 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.5972, allocations: 275.2 kB / 0.6596 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.5975, allocations: 192.7 kB / 0.6598 GB, free: 109.6 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.001192/0.5987, allocations: 330.7 kB / 0.6601 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/0.5996, allocations: 0.6737 MB / 0.6608 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.6041, allocations: 3.175 MB / 0.6639 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.6041, allocations: 19.47 kB / 0.6639 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6042, allocations: 0 / 0.6639 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.6042, allocations: 12.52 kB / 0.6639 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009294/0.6135, allocations: 6.082 MB / 0.6698 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.6135, allocations: 6.438 kB / 0.6698 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.6148, allocations: 415.5 kB / 0.6702 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008814/0.6157, allocations: 347 kB / 0.6706 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.6159, allocations: 74.23 kB / 0.6706 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007185/0.6166, allocations: 1.801 MB / 0.6724 GB, free: 107 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6166, allocations: 7.906 kB / 0.6724 GB, free: 107 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.623, allocations: 3.641 MB / 0.6759 GB, free: 106.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007692/0.6307, allocations: 3.988 MB / 0.6798 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/0.632, allocations: 55.94 kB / 0.6799 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.6334, allocations: 82.06 kB / 0.68 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/0.6338, allocations: 192.7 kB / 0.6802 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/0.6342, allocations: 200.9 kB / 0.6803 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.006824/0.641, allocations: 3.538 MB / 0.6838 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.41e-07/0.641, allocations: 0 / 0.6838 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.004449/0.6454, allocations: 1.288 MB / 0.6851 GB, free: 105.5 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.003156/0.6486, allocations: 1.171 MB / 0.6862 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.005025/0.6536, allocations: 2.295 MB / 0.6884 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/0.6536, allocations: 7.438 kB / 0.6885 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.6557, allocations: 1.103 MB / 0.6895 GB, free: 105.1 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/0.66, allocations: 1.094 MB / 0.6906 GB, free: 105 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.6753, allocations: 8.826 MB / 0.6992 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/0.6776, allocations: 1.219 MB / 0.7004 GB, free: 101.3 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.003774/0.6814, allocations: 1.052 MB / 0.7014 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/0.6824, allocations: 434 kB / 0.7018 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of SimCode: time 2.605e-06/0.6824, allocations: 4.406 kB / 0.7019 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of Templates: time 0.08261/0.765, allocations: 75.3 MB / 0.7754 GB, free: 34.29 MB / 0.5574 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe ; mkfifo ClaRa_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe >> ../files/ClaRa_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.sim & ./ClaRa_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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.4267395082861185]