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.01448/0.01448, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0007875/0.0007875, allocations: 86.52 kB / 25.15 MB, free: 7.465 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.0008385/0.0008385, allocations: 164.3 kB / 29.05 MB, free: 3.672 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.9798/0.9798, allocations: 177.2 MB / 210 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.634/0.634, allocations: 102.4 MB / 369.5 MB, free: 360 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.352e-06/1.352e-06, allocations: 0 / 469.9 MB, free: 18.92 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.252e-05, allocations: 7.094 kB / 469.9 MB, free: 18.92 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.1262/0.1262, allocations: 61.37 MB / 0.5189 GB, free: 10.58 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02218/0.1484, allocations: 20.31 MB / 0.5387 GB, free: 6.207 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.1501, allocations: 51.81 kB / 0.5387 GB, free: 6.156 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.153, allocations: 1.317 MB / 0.54 GB, free: 4.832 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.1557, allocations: 1.476 MB / 0.5415 GB, free: 3.348 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006208/0.1619, allocations: 3.426 MB / 0.5448 GB, free: 15.91 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.1664, allocations: 4.138 MB / 0.5489 GB, free: 11.76 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.1699, allocations: 3.116 MB / 0.5519 GB, free: 8.594 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/0.1741, allocations: 3.497 MB / 0.5553 GB, free: 5.09 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.1774, allocations: 2.705 MB / 0.558 GB, free: 2.379 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009418/0.1784, allocations: 0.6602 MB / 0.5586 GB, free: 1.719 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006597/0.185, allocations: 4.049 MB / 0.5626 GB, free: 13.66 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003336/0.1883, allocations: 3.481 MB / 0.566 GB, free: 10.17 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003723/0.192, allocations: 2.44 MB / 0.5683 GB, free: 7.727 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.2069, allocations: 10.12 MB / 0.5782 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2069, allocations: 0 / 0.5782 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2069, allocations: 0 / 0.5782 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002154/0.2072, 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.01341/0.2206, allocations: 8.783 MB / 0.5868 GB, free: 4.699 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2206, allocations: 12.03 kB / 0.5868 GB, free: 4.688 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.2229, allocations: 0.9377 MB / 0.5877 GB, free: 3.746 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.2351, allocations: 7.439 MB / 0.595 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.2353, allocations: 191.6 kB / 0.5952 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006999/0.236, allocations: 328.3 kB / 0.5955 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.2462, allocations: 13.29 MB / 0.6085 GB, free: 11.15 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.2462, allocations: 3.938 kB / 0.6085 GB, free: 11.15 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.2465, allocations: 128 kB / 0.6086 GB, free: 11.02 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.2466, allocations: 192 kB / 0.6088 GB, free: 10.83 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007104/0.2537, allocations: 4.356 MB / 0.613 GB, free: 6.449 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/0.2696, allocations: 11.7 MB / 0.6245 GB, free: 10.6 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.2744, allocations: 2.029 MB / 0.6264 GB, free: 8.543 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.2757, allocations: 0.7309 MB / 0.6272 GB, free: 7.809 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004303/0.2761, allocations: 313.7 kB / 0.6275 GB, free: 7.504 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.253e-05/0.2762, allocations: 75.98 kB / 0.6275 GB, free: 7.418 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=208): time 4.118e-06/0.2762, allocations: 4 kB / 0.6275 GB, free: 7.414 MB / 0.5418 GB Notification: Performance of matching and sorting (n=208): time 0.01033/0.2865, allocations: 4.594 MB / 0.632 GB, free: 2.801 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000539/0.287, allocations: 1.785 MB / 0.6338 GB, free: 0.5898 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008026/0.2951, allocations: 6.188 MB / 0.6398 GB, free: 10.42 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004579/0.2955, allocations: 69.7 kB / 0.6399 GB, free: 10.35 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.2973, allocations: 2.693 MB / 0.6425 GB, free: 7.645 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006727/0.298, allocations: 0.7437 MB / 0.6432 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.299, allocations: 0.7605 MB / 0.644 GB, free: 6.125 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2991, allocations: 484.8 kB / 0.6444 GB, free: 5.648 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.3004, allocations: 0.7193 MB / 0.6451 GB, free: 4.926 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/0.303, allocations: 3.71 MB / 0.6488 GB, free: 248 kB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.221/0.5241, allocations: 2.336 MB / 0.651 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.5241, allocations: 2.906 kB / 0.651 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005588/0.5297, allocations: 3.123 MB / 0.6541 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.5297, allocations: 17.59 kB / 0.6541 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.5297, allocations: 16 kB / 0.6541 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.5314, allocations: 0.5962 MB / 0.6547 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.5332, allocations: 0.5914 MB / 0.6553 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.5351, allocations: 4.131 MB / 0.6593 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.5375, allocations: 274.5 kB / 0.6596 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.5377, allocations: 194.7 kB / 0.6598 GB, free: 109.7 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.00119/0.5389, allocations: 336.5 kB / 0.6601 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008793/0.5398, allocations: 0.6722 MB / 0.6607 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.5442, allocations: 3.16 MB / 0.6638 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.5442, allocations: 20.44 kB / 0.6638 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5442, allocations: 0 / 0.6638 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.5442, allocations: 9.938 kB / 0.6639 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008013/0.5522, allocations: 6.084 MB / 0.6698 GB, free: 108.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5522, allocations: 6.469 kB / 0.6698 GB, free: 108.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.5536, allocations: 410.8 kB / 0.6702 GB, free: 108.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008937/0.5545, allocations: 351 kB / 0.6705 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.5547, allocations: 71.92 kB / 0.6706 GB, free: 108.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006788/0.5554, allocations: 1.805 MB / 0.6724 GB, free: 107.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5554, allocations: 2.625 kB / 0.6724 GB, free: 107.1 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005667/0.561, allocations: 3.644 MB / 0.6759 GB, free: 106.4 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006719/0.5678, allocations: 3.986 MB / 0.6798 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/0.5688, allocations: 53.84 kB / 0.6799 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.57, allocations: 82.41 kB / 0.6799 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.5703, allocations: 196.2 kB / 0.6801 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/0.5706, allocations: 202.3 kB / 0.6803 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.00483/0.5754, allocations: 3.541 MB / 0.6838 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5754, allocations: 0 / 0.6838 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.003278/0.5787, allocations: 1.291 MB / 0.685 GB, free: 105.6 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.002373/0.5811, allocations: 1.168 MB / 0.6862 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.5849, allocations: 2.302 MB / 0.6884 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.5849, allocations: 4.781 kB / 0.6884 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.5866, allocations: 1.101 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.003091/0.5897, allocations: 1.088 MB / 0.6906 GB, free: 105.1 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.601, allocations: 8.826 MB / 0.6992 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.6021, allocations: 1.216 MB / 0.7004 GB, free: 101.3 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.002768/0.6048, allocations: 1.055 MB / 0.7014 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.6059, allocations: 443 kB / 0.7018 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of SimCode: time 2.344e-06/0.6059, allocations: 0 / 0.7018 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of Templates: time 0.07682/0.6827, allocations: 75.3 MB / 0.7754 GB, free: 34.39 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.180652575101703]