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.01454/0.01454, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.001311/0.001311, allocations: 83.81 kB / 25.48 MB, free: 6.406 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.001527/0.001527, allocations: 164 kB / 28.89 MB, free: 3.383 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.9388/0.9388, allocations: 177.2 MB / 209.3 MB, free: 2.25 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.8109/0.8109, allocations: 102.4 MB / 368.3 MB, free: 0.7773 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.[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.833e-06/1.833e-06, allocations: 0 / 415.1 MB, free: 2.195 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.618e-05, allocations: 2.312 kB / 415.1 MB, free: 2.191 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.1219/0.1219, allocations: 66.97 MB / 482 MB, free: 15.27 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.1437, allocations: 20.54 MB / 0.4908 GB, free: 10.65 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.1454, allocations: 43.81 kB / 0.4909 GB, free: 10.61 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.1482, allocations: 1.352 MB / 0.4922 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.1507, allocations: 1.479 MB / 0.4936 GB, free: 7.762 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005905/0.1566, allocations: 3.403 MB / 0.4969 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005066/0.1617, allocations: 4.147 MB / 0.501 GB, free: 192 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003697/0.1654, allocations: 3.144 MB / 0.5041 GB, free: 12.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3762/0.5416, allocations: 66.27 MB / 0.5688 GB, free: 28 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.5449, allocations: 2.56 MB / 0.5713 GB, free: 27.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.5464, allocations: 0.6159 MB / 0.5719 GB, free: 27.31 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/0.552, allocations: 3.924 MB / 0.5757 GB, free: 25.16 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002203/0.5542, allocations: 3.276 MB / 0.5789 GB, free: 23.21 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.557, allocations: 2.301 MB / 0.5812 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.5679, allocations: 9.808 MB / 0.5907 GB, free: 14.38 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5679, allocations: 0 / 0.5907 GB, free: 14.38 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5679, allocations: 0 / 0.5907 GB, free: 14.38 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002067/0.5681, allocations: 0 / 0.5907 GB, free: 14.38 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.008537/0.5767, allocations: 7.802 MB / 0.5984 GB, free: 6.953 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.5767, allocations: 12.03 kB / 0.5984 GB, free: 6.941 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.5777, allocations: 0.5879 MB / 0.5989 GB, free: 6.355 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005261/0.5829, allocations: 4.036 MB / 0.6029 GB, free: 2.406 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.583, allocations: 190.7 kB / 0.6031 GB, free: 2.211 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003723/0.5834, allocations: 316.4 kB / 0.6034 GB, free: 1.902 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008721/0.5921, allocations: 12.32 MB / 0.6154 GB, free: 2.977 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.5922, allocations: 11.3 kB / 0.6154 GB, free: 2.969 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.5925, allocations: 132 kB / 0.6155 GB, free: 2.84 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.5926, allocations: 186.7 kB / 0.6157 GB, free: 2.656 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005422/0.598, allocations: 3.291 MB / 0.6189 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.6106, allocations: 8.511 MB / 0.6272 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.6144, allocations: 1.821 MB / 0.629 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/0.6151, allocations: 0.5269 MB / 0.6295 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.6155, allocations: 309.5 kB / 0.6298 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.612e-05/0.6156, allocations: 105.2 kB / 0.6299 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=208): time 4.418e-06/0.6156, allocations: 0 / 0.6299 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.008651/0.6242, allocations: 3.575 MB / 0.6334 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001367/0.6256, allocations: 4.691 MB / 0.638 GB, free: 11.03 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006752/0.6324, allocations: 5.577 MB / 0.6434 GB, free: 6.32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005634/0.6329, allocations: 89.7 kB / 0.6435 GB, free: 6.227 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009179/0.6338, allocations: 1.297 MB / 0.6448 GB, free: 5.141 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006884/0.6345, allocations: 0.734 MB / 0.6455 GB, free: 4.449 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.6358, allocations: 0.7846 MB / 0.6463 GB, free: 3.707 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.6358, allocations: 304.9 kB / 0.6466 GB, free: 3.41 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.637, allocations: 0.6434 MB / 0.6472 GB, free: 2.766 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003596/0.6406, allocations: 6.839 MB / 0.6539 GB, free: 10.14 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.6434, allocations: 2.137 MB / 0.656 GB, free: 7.902 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.6434, allocations: 7.938 kB / 0.656 GB, free: 7.895 MB / 0.5418 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004788/0.6482, allocations: 2.487 MB / 0.6584 GB, free: 5.469 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.6482, allocations: 12 kB / 0.6584 GB, free: 5.457 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.6482, allocations: 16 kB / 0.6584 GB, free: 5.441 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.65, allocations: 0.6075 MB / 0.659 GB, free: 4.848 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/0.6534, allocations: 1.219 MB / 0.6602 GB, free: 3.727 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.6556, allocations: 2.817 MB / 0.663 GB, free: 0.8203 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.6584, allocations: 298.9 kB / 0.6633 GB, free: 0.5312 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.6588, allocations: 167.9 kB / 0.6634 GB, free: 376 kB / 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.00178/0.6606, allocations: 352.4 kB / 0.6637 GB, free: 44 kB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.6617, allocations: 440.8 kB / 0.6642 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.6653, allocations: 2.359 MB / 0.6665 GB, free: 13.24 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.6653, allocations: 23.98 kB / 0.6665 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6653, allocations: 0 / 0.6665 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.6653, allocations: 11.95 kB / 0.6665 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006953/0.6723, allocations: 4.407 MB / 0.6708 GB, free: 9.148 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.6723, allocations: 0 / 0.6708 GB, free: 9.148 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/0.6755, allocations: 1.427 MB / 0.6722 GB, free: 7.801 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005879/0.6761, allocations: 250.1 kB / 0.6724 GB, free: 7.555 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.6763, allocations: 58.58 kB / 0.6725 GB, free: 7.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007451/0.677, allocations: 1.215 MB / 0.6737 GB, free: 6.25 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.677, allocations: 4 kB / 0.6737 GB, free: 6.246 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/0.6809, allocations: 2.507 MB / 0.6761 GB, free: 3.734 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004559/0.6855, allocations: 2.898 MB / 0.679 GB, free: 0.8047 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/0.6865, allocations: 75.89 kB / 0.679 GB, free: 0.7305 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.6879, allocations: 120.6 kB / 0.6792 GB, free: 0.6133 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/0.6882, allocations: 149.6 kB / 0.6793 GB, free: 480 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/0.6884, allocations: 179.9 kB / 0.6795 GB, free: 300 kB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003327/0.6918, allocations: 2.859 MB / 0.6823 GB, free: 13.73 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/0.6918, allocations: 0 / 0.6823 GB, free: 13.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003551/0.6953, allocations: 1.482 MB / 0.6837 GB, free: 12.25 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): 0 systems * Without analytic Jacobian (size): 2 systems {22, 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002227/0.6976, allocations: 1.186 MB / 0.6849 GB, free: 11.28 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003006/0.7006, allocations: 1.941 MB / 0.6868 GB, free: 9.426 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-05/0.7006, allocations: 79.81 kB / 0.6868 GB, free: 9.348 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.7019, allocations: 0.8787 MB / 0.6877 GB, free: 8.527 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/0.7049, allocations: 1.132 MB / 0.6888 GB, free: 7.426 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.7167, allocations: 8.632 MB / 0.6972 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.7181, allocations: 1.23 MB / 0.6984 GB, free: 13.56 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.003043/0.7211, allocations: 0.8675 MB / 0.6993 GB, free: 12.76 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004314/0.7254, allocations: 1.608 MB / 0.7008 GB, free: 11.15 MB / 0.5887 GB Notification: Performance of SimCode: time 1.874e-06/0.7254, allocations: 0 / 0.7008 GB, free: 11.15 MB / 0.5887 GB Notification: Performance of Templates: time 0.2968/1.022, allocations: 105.4 MB / 0.8037 GB, free: 158.6 MB / 0.6199 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 -s gbode -gbm=radauIIA3 -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.692798280157149]