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.01719/0.01719, allocations: 1.796 MB / 21.15 MB, free: 3.25 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.001827/0.001827, allocations: 75.02 kB / 24.88 MB, free: 6.812 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.002092/0.002092, allocations: 172.1 kB / 28.74 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 1.552/1.552, allocations: 177.2 MB / 209.6 MB, free: 2.375 MB / 186.7 MB " [Timeout remaining time 178] 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 1.168/1.168, allocations: 102.5 MB / 369.1 MB, free: 0.8438 MB / 330.8 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.1.|verticalMill_L3_1.xi_wc_out.2.",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.1.|verticalMill_L3_1.xi_wc_out.2.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 469.1 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.854e-05/4.014e-05, allocations: 3.719 kB / 469.1 MB, free: 12.97 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.1987/0.1987, allocations: 58.97 MB / 0.5157 GB, free: 1.988 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.3312/0.5299, allocations: 20.18 MB / 0.5354 GB, free: 66.1 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.5324, allocations: 43.53 kB / 0.5355 GB, free: 66.09 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.5361, allocations: 1.331 MB / 0.5368 GB, free: 65.48 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.5397, allocations: 1.467 MB / 0.5382 GB, free: 64.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00916/0.5489, allocations: 3.413 MB / 0.5415 GB, free: 62.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.007801/0.5567, allocations: 4.14 MB / 0.5456 GB, free: 61 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004929/0.5616, allocations: 3.114 MB / 0.5486 GB, free: 59.17 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007504/0.5691, allocations: 3.499 MB / 0.552 GB, free: 57.6 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007636/0.5767, allocations: 2.701 MB / 0.5547 GB, free: 56.6 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002723/0.5795, allocations: 0.6617 MB / 0.5553 GB, free: 56.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/0.5926, allocations: 4.046 MB / 0.5593 GB, free: 55.43 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007343/0.6, allocations: 3.477 MB / 0.5627 GB, free: 53.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01217/0.6121, allocations: 2.442 MB / 0.565 GB, free: 52.53 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02863/0.6408, allocations: 14.19 MB / 0.5789 GB, free: 41.7 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/0.6408, allocations: 0.5 kB / 0.5789 GB, free: 41.7 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6408, allocations: 2.656 kB / 0.5789 GB, free: 41.7 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004534/0.6412, allocations: 4 kB / 0.5789 GB, free: 41.69 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.03195/0.6732, allocations: 9.291 MB / 0.588 GB, free: 32.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.6732, allocations: 12.03 kB / 0.588 GB, free: 32.37 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.679, allocations: 0.9337 MB / 0.5889 GB, free: 31.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/0.6985, allocations: 7.436 MB / 0.5962 GB, free: 23.93 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.6988, allocations: 191.6 kB / 0.5963 GB, free: 23.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.7005, allocations: 324.4 kB / 0.5967 GB, free: 23.42 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.7167, allocations: 13.64 MB / 0.61 GB, free: 6.539 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.7168, allocations: 6.594 kB / 0.61 GB, free: 6.535 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.7181, allocations: 132.7 kB / 0.6101 GB, free: 6.406 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.7183, allocations: 191.9 kB / 0.6103 GB, free: 6.215 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.7335, allocations: 7.508 MB / 0.6176 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04134/0.7748, allocations: 13.83 MB / 0.6311 GB, free: 0.7305 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009295/0.7841, allocations: 2.152 MB / 0.6332 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.7869, allocations: 0.8878 MB / 0.6341 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009209/0.7878, allocations: 306 kB / 0.6344 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.7879, allocations: 75.98 kB / 0.6345 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=208): time 5.841e-06/0.7879, allocations: 2.656 kB / 0.6345 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.02245/0.8104, allocations: 5.1 MB / 0.6394 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001424/0.8118, allocations: 1.774 MB / 0.6412 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02325/0.8351, allocations: 7.516 MB / 0.6485 GB, free: 14.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001111/0.8362, allocations: 73.7 kB / 0.6486 GB, free: 14.42 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.007029/0.8432, allocations: 2.998 MB / 0.6515 GB, free: 11.41 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002611/0.8458, allocations: 0.7868 MB / 0.6523 GB, free: 10.62 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005785/0.8516, allocations: 0.8269 MB / 0.6531 GB, free: 9.777 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003586/0.852, allocations: 487.3 kB / 0.6536 GB, free: 9.301 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003691/0.8556, allocations: 0.9068 MB / 0.6544 GB, free: 8.391 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007554/0.8632, allocations: 3.976 MB / 0.6583 GB, free: 3.449 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008702/0.8719, allocations: 2.781 MB / 0.661 GB, free: 420 kB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.134e-05/0.872, allocations: 4 kB / 0.661 GB, free: 416 kB / 0.5262 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01553/0.8875, allocations: 3.518 MB / 0.6645 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.8875, allocations: 12 kB / 0.6645 GB, free: 12.87 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/0.8876, allocations: 19.94 kB / 0.6645 GB, free: 12.85 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/0.8913, allocations: 0.6668 MB / 0.6652 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004624/0.8959, allocations: 0.5799 MB / 0.6657 GB, free: 11.61 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005685/0.9016, allocations: 4.408 MB / 0.67 GB, free: 7.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005374/0.907, allocations: 272.2 kB / 0.6703 GB, free: 6.758 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/0.9081, allocations: 195.9 kB / 0.6705 GB, free: 6.566 MB / 0.5418 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.003954/0.912, allocations: 497.2 kB / 0.671 GB, free: 6.066 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003212/0.9152, allocations: 0.6717 MB / 0.6716 GB, free: 5.391 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.9282, allocations: 3.501 MB / 0.675 GB, free: 1.895 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.9283, allocations: 23.98 kB / 0.675 GB, free: 1.871 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.9283, allocations: 0.875 kB / 0.675 GB, free: 1.871 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/0.9283, allocations: 7.969 kB / 0.6751 GB, free: 1.863 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02926/0.9576, allocations: 7.476 MB / 0.6824 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.9576, allocations: 4 kB / 0.6824 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/0.961, allocations: 410.1 kB / 0.6828 GB, free: 9.91 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.9629, allocations: 390.8 kB / 0.6831 GB, free: 9.535 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005379/0.9635, allocations: 79.94 kB / 0.6832 GB, free: 9.457 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.9656, allocations: 1.882 MB / 0.685 GB, free: 7.516 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.9656, allocations: 4.75 kB / 0.685 GB, free: 7.512 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.979, allocations: 4.292 MB / 0.6892 GB, free: 3.164 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01644/0.9955, allocations: 4.304 MB / 0.6934 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002403/0.9979, allocations: 59.94 kB / 0.6935 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003826/1.002, allocations: 83.23 kB / 0.6936 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/1.003, allocations: 197.6 kB / 0.6938 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007024/1.004, allocations: 199.9 kB / 0.694 GB, free: 14.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01369/1.017, allocations: 4.103 MB / 0.698 GB, free: 10.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.017, allocations: 0 / 0.698 GB, free: 10.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007822/1.025, allocations: 1.287 MB / 0.6992 GB, free: 8.934 MB / 0.573 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.005837/1.031, allocations: 1.115 MB / 0.7003 GB, free: 8.242 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009937/1.041, allocations: 2.692 MB / 0.7029 GB, free: 5.543 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-05/1.041, allocations: 12.59 kB / 0.7029 GB, free: 5.531 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004663/1.046, allocations: 1.291 MB / 0.7042 GB, free: 4.238 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/1.056, allocations: 1.095 MB / 0.7053 GB, free: 3.266 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/1.084, allocations: 9.121 MB / 0.7142 GB, free: 10.18 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005126/1.089, allocations: 2.663 MB / 0.7168 GB, free: 7.508 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.004926/1.094, allocations: 1.047 MB / 0.7178 GB, free: 6.602 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/1.096, allocations: 446.9 kB / 0.7182 GB, free: 6.176 MB / 0.5887 GB Notification: Performance of SimCode: time 2.315e-06/1.096, allocations: 0 / 0.7182 GB, free: 6.176 MB / 0.5887 GB Notification: Performance of Templates: time 0.3971/1.493, allocations: 74.35 MB / 0.7908 GB, free: 165.6 MB / 0.6043 GB " [Timeout remaining time 798] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 10.430398088996299]