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.01227/0.01227, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.001217/0.001217, allocations: 78.86 kB / 26.19 MB, free: 6.078 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.001561/0.001561, allocations: 165.4 kB / 30.12 MB, free: 2.184 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.096/1.096, allocations: 177.2 MB / 211.1 MB, free: 3.434 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.6753/0.6753, allocations: 102.4 MB / 370.6 MB, free: 188 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.853e-06/1.853e-06, allocations: 3.938 kB / 471.2 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.912e-05, allocations: 4.562 kB / 471.2 MB, free: 18.83 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.1276/0.1277, allocations: 61.11 MB / 0.5198 GB, free: 10.51 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02211/0.1498, allocations: 20.12 MB / 0.5395 GB, free: 6.328 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.1514, allocations: 43.81 kB / 0.5395 GB, free: 6.285 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.154, allocations: 1.329 MB / 0.5408 GB, free: 4.949 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.1564, allocations: 1.479 MB / 0.5423 GB, free: 3.461 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.1627, allocations: 3.426 MB / 0.5456 GB, free: 20 kB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004599/0.1673, allocations: 4.15 MB / 0.5497 GB, free: 11.86 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.1704, allocations: 3.11 MB / 0.5527 GB, free: 8.699 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1628/0.3332, allocations: 66.09 MB / 0.6173 GB, free: 7.598 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.3375, allocations: 2.658 MB / 0.6198 GB, free: 4.934 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.3391, allocations: 0.6094 MB / 0.6204 GB, free: 4.324 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007659/0.3468, allocations: 3.869 MB / 0.6242 GB, free: 456 kB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.003762/0.3505, allocations: 3.282 MB / 0.6274 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004597/0.3551, allocations: 2.3 MB / 0.6297 GB, free: 10.85 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.3704, allocations: 9.807 MB / 0.6392 GB, free: 1.016 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3704, allocations: 0 / 0.6392 GB, free: 1.016 MB / 0.5418 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3704, allocations: 0 / 0.6392 GB, free: 1.016 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002863/0.3707, allocations: 0 / 0.6392 GB, free: 1.016 MB / 0.5418 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.222/0.5927, allocations: 8.416 MB / 0.6475 GB, free: 113.4 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5928, allocations: 11.34 kB / 0.6475 GB, free: 113.4 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.594, allocations: 0.874 MB / 0.6483 GB, free: 113.1 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/0.5997, allocations: 4.915 MB / 0.6531 GB, free: 111.7 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.5998, allocations: 193.4 kB / 0.6533 GB, free: 111.6 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/0.6002, allocations: 320.8 kB / 0.6536 GB, free: 111.6 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006531/0.6067, allocations: 13.01 MB / 0.6663 GB, free: 98.33 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.6068, allocations: 3.938 kB / 0.6663 GB, free: 98.33 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.607, allocations: 128.8 kB / 0.6665 GB, free: 98.33 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.6072, allocations: 183.7 kB / 0.6666 GB, free: 98.32 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005081/0.6122, allocations: 3.662 MB / 0.6702 GB, free: 98.23 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.6255, allocations: 10.78 MB / 0.6807 GB, free: 94.29 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.6292, allocations: 1.854 MB / 0.6826 GB, free: 93.79 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/0.63, allocations: 0.5968 MB / 0.6831 GB, free: 93.66 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003822/0.6303, allocations: 306.3 kB / 0.6834 GB, free: 93.55 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.6305, allocations: 103.7 kB / 0.6835 GB, free: 93.47 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=208): time 5.33e-06/0.6305, allocations: 0 / 0.6835 GB, free: 93.47 MB / 0.5418 GB Notification: Performance of matching and sorting (n=208): time 0.01003/0.6405, allocations: 4.235 MB / 0.6877 GB, free: 92 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005646/0.6411, allocations: 4.688 MB / 0.6922 GB, free: 86.23 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008195/0.6493, allocations: 6.256 MB / 0.6983 GB, free: 84.06 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0007062/0.65, allocations: 90.58 kB / 0.6984 GB, free: 84 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.002469/0.6524, allocations: 2.734 MB / 0.7011 GB, free: 81.93 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009694/0.6534, allocations: 0.7449 MB / 0.7018 GB, free: 81.32 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.6548, allocations: 0.8666 MB / 0.7027 GB, free: 80.87 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.6548, allocations: 482.1 kB / 0.7031 GB, free: 80.39 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.6559, allocations: 0.6293 MB / 0.7038 GB, free: 80.24 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.6582, allocations: 7.528 MB / 0.7111 GB, free: 71.39 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.6605, allocations: 2.177 MB / 0.7132 GB, free: 70.19 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.6605, allocations: 3.031 kB / 0.7132 GB, free: 70.19 MB / 0.5418 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005184/0.6657, allocations: 2.928 MB / 0.7161 GB, free: 69.2 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6657, allocations: 11.97 kB / 0.7161 GB, free: 69.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.6657, allocations: 14.94 kB / 0.7161 GB, free: 69.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.6673, allocations: 0.5729 MB / 0.7167 GB, free: 68.96 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.6689, allocations: 0.5651 MB / 0.7172 GB, free: 68.87 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.6706, allocations: 4.079 MB / 0.7212 GB, free: 65.05 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.6736, allocations: 299.3 kB / 0.7215 GB, free: 64.87 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.6739, allocations: 170.5 kB / 0.7217 GB, free: 64.82 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.001418/0.6753, allocations: 399.2 kB / 0.722 GB, free: 64.56 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/0.6767, allocations: 0.7009 MB / 0.7227 GB, free: 64.19 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/0.6804, allocations: 2.902 MB / 0.7256 GB, free: 61.36 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.6804, allocations: 20 kB / 0.7256 GB, free: 61.34 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6804, allocations: 0 / 0.7256 GB, free: 61.34 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6804, allocations: 14.61 kB / 0.7256 GB, free: 61.33 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/0.6869, allocations: 5.412 MB / 0.7309 GB, free: 56.28 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6869, allocations: 6.688 kB / 0.7309 GB, free: 56.28 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.6882, allocations: 388 kB / 0.7313 GB, free: 55.92 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007223/0.6889, allocations: 348.4 kB / 0.7316 GB, free: 55.59 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.689, allocations: 71.95 kB / 0.7317 GB, free: 55.52 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005586/0.6896, allocations: 1.777 MB / 0.7334 GB, free: 53.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6896, allocations: 4 kB / 0.7334 GB, free: 53.69 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/0.6939, allocations: 3.253 MB / 0.7366 GB, free: 50.44 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005117/0.6991, allocations: 3.767 MB / 0.7402 GB, free: 46.66 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/0.7003, allocations: 82.58 kB / 0.7403 GB, free: 46.58 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7018, allocations: 113.9 kB / 0.7404 GB, free: 46.46 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.702, allocations: 197.6 kB / 0.7406 GB, free: 46.27 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.7022, allocations: 187.9 kB / 0.7408 GB, free: 46.09 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.003014/0.7052, allocations: 3.472 MB / 0.7442 GB, free: 42.92 MB / 0.5418 GB Notification: Performance of sort global known variables: time 7e-08/0.7052, allocations: 2.656 kB / 0.7442 GB, free: 42.92 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.003082/0.7083, allocations: 1.479 MB / 0.7456 GB, free: 41.44 MB / 0.5418 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.002032/0.7103, allocations: 1.079 MB / 0.7467 GB, free: 40.83 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.003101/0.7134, allocations: 2.114 MB / 0.7488 GB, free: 38.79 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/0.7135, allocations: 14 kB / 0.7488 GB, free: 38.78 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.7146, allocations: 0.9755 MB / 0.7497 GB, free: 37.86 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.7178, allocations: 1.155 MB / 0.7509 GB, free: 36.83 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.7278, allocations: 8.77 MB / 0.7594 GB, free: 28.17 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.7287, allocations: 1.223 MB / 0.7606 GB, free: 26.92 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.002977/0.7317, allocations: 0.8717 MB / 0.7615 GB, free: 26.21 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003103/0.7348, allocations: 1.827 MB / 0.7632 GB, free: 24.39 MB / 0.5418 GB Notification: Performance of SimCode: time 2.224e-06/0.7348, allocations: 0 / 0.7632 GB, free: 24.39 MB / 0.5418 GB Notification: Performance of Templates: time 0.3229/1.058, allocations: 107.3 MB / 0.868 GB, free: 183.7 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 -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: 7.591116818133742]