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.008771/0.008771, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0008424/0.0008424, allocations: 85.05 kB / 25.61 MB, free: 6.535 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.0009477/0.0009477, allocations: 165.9 kB / 29.46 MB, free: 3.035 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.8689/0.8689, allocations: 177.1 MB / 210.3 MB, free: 1.754 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.7077/0.7077, allocations: 102.5 MB / 369.8 MB, free: 0.9805 MB / 330.8 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.202e-06/1.202e-06, allocations: 0 / 469.9 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.472e-05, allocations: 7.297 kB / 469.9 MB, free: 13.01 MB / 442.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.2804/0.2805, allocations: 61.27 MB / 0.5187 GB, free: 73.32 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.2967, allocations: 20.27 MB / 0.5385 GB, free: 64.55 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.2976, allocations: 42.44 kB / 0.5385 GB, free: 64.54 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2994, allocations: 1.328 MB / 0.5398 GB, free: 63.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.3008, allocations: 1.47 MB / 0.5413 GB, free: 63.08 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.3047, allocations: 3.417 MB / 0.5446 GB, free: 61.37 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002906/0.3077, allocations: 4.141 MB / 0.5486 GB, free: 59.45 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.3102, allocations: 3.109 MB / 0.5517 GB, free: 57.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.3135, allocations: 3.497 MB / 0.5551 GB, free: 56.05 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.3163, allocations: 2.703 MB / 0.5577 GB, free: 55.05 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009285/0.3173, allocations: 0.66 MB / 0.5584 GB, free: 55.05 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.3225, allocations: 4.044 MB / 0.5623 GB, free: 53.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.3245, allocations: 3.479 MB / 0.5657 GB, free: 52.08 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002658/0.3272, allocations: 2.442 MB / 0.5681 GB, free: 50.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009628/0.3368, allocations: 10.12 MB / 0.578 GB, free: 43.35 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3368, allocations: 0 / 0.578 GB, free: 43.35 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3368, allocations: 0 / 0.578 GB, free: 43.35 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.893e-05/0.3369, allocations: 1.25 kB / 0.578 GB, free: 43.35 MB / 490.8 MB 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.008757/0.3456, allocations: 8.788 MB / 0.5866 GB, free: 34.54 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3457, allocations: 8.031 kB / 0.5866 GB, free: 34.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.3469, allocations: 0.9338 MB / 0.5875 GB, free: 33.6 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/0.3533, allocations: 7.421 MB / 0.5948 GB, free: 26.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.3534, allocations: 188.5 kB / 0.5949 GB, free: 25.91 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.3537, allocations: 324.4 kB / 0.5952 GB, free: 25.6 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/0.3601, allocations: 13.29 MB / 0.6082 GB, free: 9.07 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.3601, allocations: 3.938 kB / 0.6082 GB, free: 9.066 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.3604, allocations: 136.6 kB / 0.6084 GB, free: 8.938 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.3605, allocations: 184 kB / 0.6085 GB, free: 8.754 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006361/0.3668, allocations: 4.358 MB / 0.6128 GB, free: 4.375 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.3791, allocations: 11.71 MB / 0.6242 GB, free: 8.609 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.3833, allocations: 2.035 MB / 0.6262 GB, free: 6.562 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.3843, allocations: 0.7393 MB / 0.6269 GB, free: 5.816 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.3847, allocations: 306 kB / 0.6272 GB, free: 5.52 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.3847, allocations: 78.7 kB / 0.6273 GB, free: 5.434 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=208): time 3.447e-06/0.3847, allocations: 0 / 0.6273 GB, free: 5.434 MB / 0.4949 GB Notification: Performance of matching and sorting (n=208): time 0.009898/0.3946, allocations: 4.601 MB / 0.6318 GB, free: 0.8359 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004888/0.3951, allocations: 1.777 MB / 0.6335 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006103/0.4012, allocations: 6.191 MB / 0.6396 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.4014, allocations: 76.36 kB / 0.6396 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.4032, allocations: 2.686 MB / 0.6423 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004783/0.4036, allocations: 0.7437 MB / 0.643 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009581/0.4046, allocations: 0.7605 MB / 0.6437 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4047, allocations: 484.7 kB / 0.6442 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.4059, allocations: 0.7219 MB / 0.6449 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.4083, allocations: 3.714 MB / 0.6485 GB, free: 14.29 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.4111, allocations: 2.339 MB / 0.6508 GB, free: 11.69 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.4111, allocations: 4 kB / 0.6508 GB, free: 11.69 MB / 0.5262 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004901/0.416, allocations: 3.126 MB / 0.6539 GB, free: 8.555 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.4161, allocations: 13.72 kB / 0.6539 GB, free: 8.543 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.4161, allocations: 16 kB / 0.6539 GB, free: 8.527 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.4178, allocations: 0.5975 MB / 0.6545 GB, free: 7.934 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.4196, allocations: 0.5864 MB / 0.6551 GB, free: 7.352 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.4219, allocations: 4.142 MB / 0.6591 GB, free: 3.016 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4236, allocations: 273.5 kB / 0.6594 GB, free: 2.75 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.4238, allocations: 194.6 kB / 0.6595 GB, free: 2.562 MB / 0.5262 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.0008863/0.4247, allocations: 330.1 kB / 0.6599 GB, free: 2.23 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000697/0.4254, allocations: 0.6756 MB / 0.6605 GB, free: 1.551 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.4298, allocations: 3.176 MB / 0.6636 GB, free: 14.39 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.4299, allocations: 20 kB / 0.6636 GB, free: 14.37 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.4299, allocations: 0 / 0.6636 GB, free: 14.37 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.4299, allocations: 7.969 kB / 0.6636 GB, free: 14.36 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007268/0.4371, allocations: 6.091 MB / 0.6696 GB, free: 8.191 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4371, allocations: 0 / 0.6696 GB, free: 8.191 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.4385, allocations: 418.1 kB / 0.67 GB, free: 7.789 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/0.4394, allocations: 347.9 kB / 0.6703 GB, free: 7.453 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.4395, allocations: 75.95 kB / 0.6704 GB, free: 7.379 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009162/0.4404, allocations: 1.797 MB / 0.6722 GB, free: 5.52 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4405, allocations: 3.938 kB / 0.6722 GB, free: 5.516 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005825/0.4463, allocations: 3.638 MB / 0.6757 GB, free: 1.82 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005347/0.4516, allocations: 3.99 MB / 0.6796 GB, free: 13.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/0.4521, allocations: 59.89 kB / 0.6797 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.4531, allocations: 84.53 kB / 0.6797 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/0.4534, allocations: 193.5 kB / 0.6799 GB, free: 13.47 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/0.4537, allocations: 203.4 kB / 0.6801 GB, free: 13.28 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004226/0.4579, allocations: 3.542 MB / 0.6836 GB, free: 9.758 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4579, allocations: 0 / 0.6836 GB, free: 9.758 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.002426/0.4603, allocations: 1.283 MB / 0.6848 GB, free: 8.473 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.002151/0.4625, allocations: 1.168 MB / 0.686 GB, free: 7.766 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.003219/0.4657, allocations: 2.301 MB / 0.6882 GB, free: 5.461 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4657, allocations: 4.656 kB / 0.6882 GB, free: 5.457 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.4675, allocations: 1.1 MB / 0.6893 GB, free: 4.352 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.4697, allocations: 1.097 MB / 0.6904 GB, free: 3.375 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.4801, allocations: 8.816 MB / 0.699 GB, free: 10.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.4811, allocations: 1.222 MB / 0.7002 GB, free: 9.359 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002291/0.4834, allocations: 1.045 MB / 0.7012 GB, free: 8.469 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008754/0.4843, allocations: 440.2 kB / 0.7016 GB, free: 8.047 MB / 0.573 GB Notification: Performance of SimCode: time 1.683e-06/0.4843, allocations: 0 / 0.7016 GB, free: 8.047 MB / 0.573 GB Notification: Performance of Templates: time 0.2391/0.7234, allocations: 75.29 MB / 0.7751 GB, free: 186.5 MB / 0.6043 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: 5.783225659048185]