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.008519/0.008519, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.0007557/0.0007557, allocations: 86.08 kB / 25.48 MB, free: 6.41 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.0008338/0.0008338, allocations: 166.6 kB / 28.89 MB, free: 3.375 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.8411/0.8411, allocations: 177.2 MB / 209.3 MB, free: 2.223 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.6989/0.6989, allocations: 102.5 MB / 368.3 MB, free: 0.7461 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.744e-06/1.744e-06, allocations: 0 / 415.1 MB, free: 2.23 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.223e-05, allocations: 4.984 kB / 415.1 MB, free: 2.227 MB / 378.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.1079/0.1079, allocations: 66.93 MB / 482 MB, free: 15.33 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.01742/0.1253, allocations: 20.54 MB / 0.4907 GB, free: 10.71 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007967/0.1261, allocations: 39.88 kB / 0.4908 GB, free: 10.68 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.128, allocations: 1.36 MB / 0.4921 GB, free: 9.309 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.1295, allocations: 1.476 MB / 0.4936 GB, free: 7.824 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.1336, allocations: 3.43 MB / 0.4969 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.1363, allocations: 4.143 MB / 0.501 GB, free: 232 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.1383, allocations: 3.144 MB / 0.504 GB, free: 13 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.339/0.4773, allocations: 66.32 MB / 0.5688 GB, free: 27.85 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.4803, allocations: 2.565 MB / 0.5713 GB, free: 27.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.4814, allocations: 0.6087 MB / 0.5719 GB, free: 27.24 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004922/0.4863, allocations: 3.869 MB / 0.5757 GB, free: 25.13 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.4882, allocations: 3.282 MB / 0.5789 GB, free: 23.17 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002543/0.4907, allocations: 2.301 MB / 0.5811 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.501, allocations: 9.807 MB / 0.5907 GB, free: 14.35 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.501, allocations: 0 / 0.5907 GB, free: 14.35 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.501, allocations: 2.625 kB / 0.5907 GB, free: 14.35 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001757/0.5012, allocations: 0 / 0.5907 GB, free: 14.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.007529/0.5087, allocations: 7.807 MB / 0.5983 GB, free: 6.922 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5087, allocations: 12.03 kB / 0.5983 GB, free: 6.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.5096, allocations: 0.5853 MB / 0.5989 GB, free: 6.328 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.5142, allocations: 4.023 MB / 0.6028 GB, free: 2.391 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.5143, allocations: 194.7 kB / 0.603 GB, free: 2.191 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.5146, allocations: 324.3 kB / 0.6033 GB, free: 1.879 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007658/0.5223, allocations: 12.32 MB / 0.6154 GB, free: 2.957 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.5223, allocations: 3.938 kB / 0.6154 GB, free: 2.953 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.5226, allocations: 132 kB / 0.6155 GB, free: 2.824 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.5227, allocations: 184 kB / 0.6157 GB, free: 2.641 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004998/0.5277, allocations: 3.295 MB / 0.6189 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.5398, allocations: 8.504 MB / 0.6272 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/0.5435, allocations: 1.835 MB / 0.629 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.5442, allocations: 0.525 MB / 0.6295 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.5445, allocations: 305.8 kB / 0.6298 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.833e-05/0.5446, allocations: 106.5 kB / 0.6299 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=208): time 4.489e-06/0.5446, allocations: 2.719 kB / 0.6299 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.007947/0.5525, allocations: 3.735 MB / 0.6335 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001419/0.554, allocations: 4.683 MB / 0.6381 GB, free: 10.87 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005423/0.5594, allocations: 5.568 MB / 0.6435 GB, free: 6.168 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.5597, allocations: 89.7 kB / 0.6436 GB, free: 6.074 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007189/0.5604, allocations: 1.296 MB / 0.6449 GB, free: 4.992 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.5608, allocations: 0.7354 MB / 0.6456 GB, free: 4.301 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009815/0.5618, allocations: 0.7859 MB / 0.6464 GB, free: 3.559 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.5619, allocations: 305.1 kB / 0.6467 GB, free: 3.258 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.5629, allocations: 0.6408 MB / 0.6473 GB, free: 2.613 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.5662, allocations: 6.846 MB / 0.654 GB, free: 9.992 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.5685, allocations: 2.134 MB / 0.6561 GB, free: 7.746 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.5685, allocations: 11.66 kB / 0.6561 GB, free: 7.738 MB / 0.5418 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003883/0.5724, allocations: 2.484 MB / 0.6585 GB, free: 5.316 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5724, allocations: 12 kB / 0.6585 GB, free: 5.305 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5724, allocations: 16 kB / 0.6585 GB, free: 5.289 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.5738, allocations: 0.5625 MB / 0.6591 GB, free: 4.742 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.5754, allocations: 0.5222 MB / 0.6596 GB, free: 4.254 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.5771, allocations: 2.825 MB / 0.6623 GB, free: 1.34 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.5788, allocations: 298.8 kB / 0.6626 GB, free: 1.051 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.579, allocations: 163.9 kB / 0.6628 GB, free: 0.8906 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.001103/0.5801, allocations: 352.2 kB / 0.6631 GB, free: 0.5664 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007713/0.5809, allocations: 435.5 kB / 0.6635 GB, free: 144 kB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.5841, allocations: 2.492 MB / 0.666 GB, free: 13.64 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5841, allocations: 20 kB / 0.666 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.5841, allocations: 0 / 0.666 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5841, allocations: 11.95 kB / 0.666 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/0.5895, allocations: 4.52 MB / 0.6704 GB, free: 9.453 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5895, allocations: 4 kB / 0.6704 GB, free: 9.449 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.5907, allocations: 352.2 kB / 0.6708 GB, free: 9.125 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.592, allocations: 0.7538 MB / 0.6715 GB, free: 8.383 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.5921, allocations: 59.95 kB / 0.6715 GB, free: 8.324 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006066/0.5927, allocations: 1.209 MB / 0.6727 GB, free: 7.078 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5927, allocations: 7.938 kB / 0.6727 GB, free: 7.07 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.5961, allocations: 2.627 MB / 0.6753 GB, free: 4.449 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004148/0.6003, allocations: 3.019 MB / 0.6783 GB, free: 1.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006318/0.6009, allocations: 79.94 kB / 0.6783 GB, free: 1.332 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.6021, allocations: 112.6 kB / 0.6784 GB, free: 1.223 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.6024, allocations: 169.7 kB / 0.6786 GB, free: 1.059 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.6026, allocations: 175.9 kB / 0.6788 GB, free: 0.8867 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002541/0.6051, allocations: 2.871 MB / 0.6816 GB, free: 14.31 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6051, allocations: 0 / 0.6816 GB, free: 14.31 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002679/0.6078, allocations: 1.481 MB / 0.683 GB, free: 12.84 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.002041/0.6098, allocations: 1.197 MB / 0.6842 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.6126, allocations: 1.941 MB / 0.6861 GB, free: 9.996 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-05/0.6127, allocations: 79.81 kB / 0.6862 GB, free: 9.918 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.6138, allocations: 0.8767 MB / 0.687 GB, free: 9.102 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.6165, allocations: 1.123 MB / 0.6881 GB, free: 8.012 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.6269, allocations: 8.634 MB / 0.6965 GB, free: 15.39 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.6281, allocations: 1.22 MB / 0.6977 GB, free: 14.15 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.002608/0.6307, allocations: 0.8727 MB / 0.6986 GB, free: 13.35 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/0.634, allocations: 1.608 MB / 0.7002 GB, free: 11.74 MB / 0.5887 GB Notification: Performance of SimCode: time 1.543e-06/0.634, allocations: 0 / 0.7002 GB, free: 11.74 MB / 0.5887 GB Notification: Performance of Templates: time 0.2537/0.8877, allocations: 105.3 MB / 0.803 GB, free: 159.3 MB / 0.6199 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.235376379918307]