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.018/0.018, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.01057/0.01057, allocations: 75.12 kB / 24.44 MB, free: 7.539 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.002152/0.002152, allocations: 155.9 kB / 28.19 MB, free: 4.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 1.472/1.472, allocations: 177.2 MB / 209 MB, free: 2.789 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.131/1.131, allocations: 102.5 MB / 368.3 MB, free: 1.258 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 0.5.2 (/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.914e-06/1.914e-06, allocations: 0 / 468.3 MB, free: 13.47 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.686e-05, allocations: 6.312 kB / 468.3 MB, free: 13.46 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.1832/0.1832, allocations: 57.82 MB / 0.5138 GB, free: 3.633 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.3516/0.5348, allocations: 19.02 MB / 0.5324 GB, free: 68.38 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/0.537, allocations: 43.56 kB / 0.5324 GB, free: 68.37 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.5409, allocations: 1.316 MB / 0.5337 GB, free: 67.76 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.5448, allocations: 1.475 MB / 0.5351 GB, free: 66.9 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008729/0.5536, allocations: 3.418 MB / 0.5385 GB, free: 65.2 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.006113/0.5597, allocations: 4.138 MB / 0.5425 GB, free: 63.28 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005566/0.5652, allocations: 3.11 MB / 0.5455 GB, free: 61.45 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008962/0.5742, allocations: 3.5 MB / 0.549 GB, free: 59.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006177/0.5804, allocations: 2.75 MB / 0.5516 GB, free: 58.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003292/0.5837, allocations: 0.6605 MB / 0.5523 GB, free: 58.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1413/0.7249, allocations: 26.93 MB / 0.5786 GB, free: 43.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005455/0.7304, allocations: 3.472 MB / 0.582 GB, free: 40.21 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.006857/0.7372, allocations: 2.444 MB / 0.5844 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02212/0.7594, allocations: 14.08 MB / 0.5981 GB, free: 23.65 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.7594, allocations: 0 / 0.5981 GB, free: 23.65 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7594, allocations: 2.656 kB / 0.5981 GB, free: 23.65 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003834/0.7598, allocations: 0 / 0.5981 GB, free: 23.65 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.02411/0.7839, allocations: 8.449 MB / 0.6064 GB, free: 15.18 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.7839, allocations: 14.69 kB / 0.6064 GB, free: 15.17 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.7891, allocations: 0.9338 MB / 0.6073 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01825/0.8073, allocations: 8.841 MB / 0.6159 GB, free: 5.324 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.8076, allocations: 191.6 kB / 0.6161 GB, free: 5.125 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.809, allocations: 328.3 kB / 0.6164 GB, free: 4.805 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/0.833, allocations: 16.67 MB / 0.6327 GB, free: 1.258 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.8331, allocations: 14.42 kB / 0.6327 GB, free: 1.246 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/0.8343, allocations: 128 kB / 0.6328 GB, free: 1.121 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002837/0.8346, allocations: 180 kB / 0.633 GB, free: 0.9414 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02751/0.8621, allocations: 14.8 MB / 0.6475 GB, free: 2.121 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04225/0.9044, allocations: 16.25 MB / 0.6633 GB, free: 1.812 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/0.918, allocations: 5.488 MB / 0.6687 GB, free: 12.32 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/0.9235, allocations: 2.938 MB / 0.6716 GB, free: 9.379 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009668/0.9245, allocations: 306 kB / 0.6719 GB, free: 9.078 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.9246, allocations: 73.22 kB / 0.6719 GB, free: 9 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=208): time 6.241e-06/0.9246, allocations: 0 / 0.6719 GB, free: 9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=208): time 0.02993/0.9545, allocations: 11.11 MB / 0.6828 GB, free: 13.89 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001385/0.9559, allocations: 1.785 MB / 0.6845 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0204/0.9763, allocations: 9.053 MB / 0.6934 GB, free: 2.645 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0007298/0.977, allocations: 73.7 kB / 0.6934 GB, free: 2.566 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00377/0.9808, allocations: 2.355 MB / 0.6957 GB, free: 204 kB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.9823, allocations: 0.7308 MB / 0.6964 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003804/0.9861, allocations: 0.7896 MB / 0.6972 GB, free: 14.66 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9863, allocations: 304.9 kB / 0.6975 GB, free: 14.37 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006607/0.9929, allocations: 4.194 MB / 0.7016 GB, free: 10.17 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009591/1.002, allocations: 7.049 MB / 0.7085 GB, free: 2.305 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.015, allocations: 7.826 MB / 0.7161 GB, free: 10.29 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/1.015, allocations: 4 kB / 0.7161 GB, free: 10.29 MB / 0.5887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02026/1.035, allocations: 10.15 MB / 0.726 GB, free: 132 kB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/1.036, allocations: 12 kB / 0.7261 GB, free: 120 kB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/1.036, allocations: 16 kB / 0.7261 GB, free: 104 kB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/1.04, allocations: 0.8545 MB / 0.7269 GB, free: 15.26 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/1.044, allocations: 0.5916 MB / 0.7275 GB, free: 14.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005225/1.049, allocations: 3.719 MB / 0.7311 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004897/1.054, allocations: 288.2 kB / 0.7314 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009228/1.055, allocations: 191.9 kB / 0.7316 GB, free: 10.32 MB / 0.6043 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.004897/1.06, allocations: 1.783 MB / 0.7333 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002731/1.062, allocations: 0.6833 MB / 0.734 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.078, allocations: 7.615 MB / 0.7414 GB, free: 204 kB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.078, allocations: 20 kB / 0.7414 GB, free: 184 kB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.078, allocations: 0 / 0.7414 GB, free: 184 kB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/1.078, allocations: 11.97 kB / 0.7414 GB, free: 172 kB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2469/1.325, allocations: 10.99 MB / 0.7522 GB, free: 193.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.325, allocations: 4.984 kB / 0.7522 GB, free: 193.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.328, allocations: 415.7 kB / 0.7526 GB, free: 193.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/1.329, allocations: 458.1 kB / 0.753 GB, free: 193.2 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.329, allocations: 81.36 kB / 0.7531 GB, free: 193.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/1.33, allocations: 1.561 MB / 0.7546 GB, free: 191.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.33, allocations: 4.906 kB / 0.7546 GB, free: 191.9 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/1.346, allocations: 11.45 MB / 0.7658 GB, free: 187.9 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01651/1.363, allocations: 7.914 MB / 0.7735 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00203/1.365, allocations: 56.91 kB / 0.7736 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.367, allocations: 86.48 kB / 0.7737 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005553/1.368, allocations: 198 kB / 0.7739 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/1.368, allocations: 200.4 kB / 0.774 GB, free: 185.1 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01034/1.378, allocations: 6.603 MB / 0.7805 GB, free: 182.7 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.91e-07/1.378, allocations: 0 / 0.7805 GB, free: 182.7 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.005397/1.384, allocations: 1.291 MB / 0.7818 GB, free: 182.7 MB / 0.6043 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.003481/1.387, allocations: 1.124 MB / 0.7829 GB, free: 182.5 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.008354/1.396, allocations: 7.294 MB / 0.79 GB, free: 178.2 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.396, allocations: 5.312 kB / 0.79 GB, free: 178.2 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.00382/1.4, allocations: 2.869 MB / 0.7928 GB, free: 175.6 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/1.404, allocations: 1.085 MB / 0.7938 GB, free: 174.8 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.42, allocations: 12.16 MB / 0.8057 GB, free: 163.9 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/1.424, allocations: 2.819 MB / 0.8085 GB, free: 161.3 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.004419/1.428, allocations: 1.33 MB / 0.8098 GB, free: 160.1 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.429, allocations: 440.3 kB / 0.8102 GB, free: 159.7 MB / 0.6043 GB Notification: Performance of SimCode: time 2.635e-06/1.429, allocations: 0 / 0.8102 GB, free: 159.7 MB / 0.6043 GB Notification: Performance of Templates: time 0.0996/1.529, allocations: 75.38 MB / 0.8838 GB, free: 85.96 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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe 2>&1) [Timeout 800] 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.602610297035426]