Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.ValidateRollerBowlMill_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.002223/0.002223, allocations: 0 / 0, free: 0 / 0 " [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.0001639/0.0001639, allocations: 0 / 0, free: 0 / 0 " [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.0001684/0.0001684, allocations: 0 / 0, free: 0 / 0 " [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.09279/0.09279, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.06125/0.06125, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(ClaRa.Components.Mills.HardCoalMills.Check.ValidateRollerBowlMill_3,startTime=0,stopTime=5960,tolerance=1e-06,numberOfIntervals=5503,outputFormat="mat",variableFilter="Dev1|Dev2|Mill2.T_out|Mill2.mass_pca|Mill2.mass_pct|Mill2.mass_rct|Mill2.xi_wc_out.[0-9,]+.|Time",fileNamePrefix="ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.ValidateRollerBowlMill_3",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ClaRa.Components.Mills.HardCoalMills.Check.ValidateRollerBowlMill_3,startTime=0,stopTime=5960,tolerance=1e-06,numberOfIntervals=5503,outputFormat="mat",variableFilter="Dev1|Dev2|Mill2.T_out|Mill2.mass_pca|Mill2.mass_pct|Mill2.mass_rct|Mill2.xi_wc_out.[0-9,]+.|Time",fileNamePrefix="ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.ValidateRollerBowlMill_3",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.36e-05, allocations: 0 / 0, free: 0 / 0 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.ValidateRollerBowlMill_3): time 0.02945/0.02947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03659/0.06606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.06824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.004412/0.07265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005117/0.07777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.08799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.006257/0.09425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.004541/0.09879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.2762/0.375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.004031/0.3791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0009589/0.38, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.009013/0.389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.004211/0.3932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.003081/0.3963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01813/0.4145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.001919/0.4164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.695e-06/0.4164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.496e-05/0.4164, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 603 * Number of variables: 603 Notification: Performance of Generate backend data structure: time 0.01389/0.4303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0004109/0.4307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.007603/0.4396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.4398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007224/0.4405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006819/0.4473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/0.4475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004748/0.448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/0.4482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006423/0.4546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.4716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004097/0.4757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0009546/0.4767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.4773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003664/0.4809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=285): time 2e-05/0.4809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=285): time 0.009116/0.4901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003396/0.4904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007891/0.4983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000729/0.499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.5002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000815/0.501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/0.5029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.676e-05/0.503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.5041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.5061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/0.51, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-05/0.5101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=400) (initialization): time 0.004586/0.5147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.5147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.5147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.5158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/0.5211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004693/0.5265, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 3 variables: Dev2:VARIABLE(fixed = true ) type: Real Dev1:VARIABLE(fixed = true ) type: Real Mill2.T_out:VARIABLE(min = 0.0 start = Mill2.T_out_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Classifier Temperature (outlet temperature)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.T_out_meas.nextTimeEvent,$whenCondition13,$PRE.E_meas.nextTimeEvent,$whenCondition12,$PRE.W_air.nextTimeEvent,$whenCondition11,$PRE.omega.nextTimeEvent,$whenCondition10,$PRE.T_air.nextTimeEvent,$whenCondition9,$PRE.W_c.nextTimeEvent,$whenCondition8,$PRE.DeltaP_pa.nextTimeEvent,$whenCondition7,DeltaP_pa.nextTimeEventScaled,$PRE.DeltaP_pa.nextTimeEventScaled,DeltaP_pa.nextTimeEvent,$PRE.DeltaP_mill_meas.nextTimeEvent,$whenCondition6,DeltaP_mill_meas.nextTimeEventScaled,$PRE.DeltaP_mill_meas.nextTimeEventScaled,DeltaP_mill_meas.nextTimeEvent,$PRE.E_model.nextTimeEvent,$whenCondition5,E_model.nextTimeEventScaled,$PRE.E_model.nextTimeEventScaled,E_model.nextTimeEvent,$PRE.DeltaP_mill_model.nextTimeEvent,$whenCondition4,DeltaP_mill_model.nextTimeEventScaled,$PRE.DeltaP_mill_model.nextTimeEventScaled,DeltaP_mill_model.nextTimeEvent,$PRE.T_out_model.nextTimeEvent,$whenCondition3,T_out_model.nextTimeEventScaled,$PRE.T_out_model.nextTimeEventScaled,T_out_model.nextTimeEvent,$PRE.W_pf_meas.nextTimeEvent,$whenCondition2,W_pf_meas.nextTimeEventScaled,$PRE.W_pf_meas.nextTimeEventScaled,W_pf_meas.nextTimeEvent,$PRE.W_pf_model.nextTimeEvent,$whenCondition1,W_pf_model.nextTimeEventScaled,$PRE.W_pf_model.nextTimeEventScaled,W_pf_model.nextTimeEvent,T_out_meas.nextTimeEventScaled,$PRE.T_out_meas.nextTimeEventScaled,T_out_meas.nextTimeEvent,E_meas.nextTimeEventScaled,$PRE.E_meas.nextTimeEventScaled,E_meas.nextTimeEvent,W_air.nextTimeEventScaled,$PRE.W_air.nextTimeEventScaled,W_air.nextTimeEvent,omega.nextTimeEventScaled,$PRE.omega.nextTimeEventScaled,omega.nextTimeEvent,T_air.nextTimeEventScaled,$PRE.T_air.nextTimeEventScaled,T_air.nextTimeEvent,W_c.nextTimeEventScaled,$PRE.W_c.nextTimeEventScaled,W_c.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (373): * Single equations (assignments): 370 * 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 {(2,20), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002427/0.5289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009876/0.5299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005828/0.5357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/0.5358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.5358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/0.5358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008813/0.5446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.5446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005189/0.5498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0007232/0.5505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/0.5508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006553/0.5515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/0.5567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.006148/0.5629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002322/0.5652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/0.5673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009314/0.5682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005288/0.5688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00437/0.5731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0004436/0.5736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004695/0.5783, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Dev1,Dev2,Mill2.mass_rct,Mill2.mass_pct,Mill2.mass_pca,Mill2.xi_wc_out[1],Mill2.xi_wc_out[2],Mill2.T_out) * Number of discrete variables: 39 ($whenCondition1,W_pf_model.nextTimeEvent,W_pf_model.nextTimeEventScaled,$whenCondition2,W_pf_meas.nextTimeEvent,W_pf_meas.nextTimeEventScaled,$whenCondition3,T_out_model.nextTimeEvent,T_out_model.nextTimeEventScaled,$whenCondition4,DeltaP_mill_model.nextTimeEvent,DeltaP_mill_model.nextTimeEventScaled,$whenCondition5,E_model.nextTimeEvent,E_model.nextTimeEventScaled,$whenCondition6,DeltaP_mill_meas.nextTimeEvent,DeltaP_mill_meas.nextTimeEventScaled,$whenCondition7,DeltaP_pa.nextTimeEvent,DeltaP_pa.nextTimeEventScaled,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,W_c.nextTimeEvent,W_c.nextTimeEventScaled,T_air.nextTimeEvent,T_air.nextTimeEventScaled,omega.nextTimeEvent,omega.nextTimeEventScaled,W_air.nextTimeEvent,W_air.nextTimeEventScaled,E_meas.nextTimeEvent,E_meas.nextTimeEventScaled,T_out_meas.nextTimeEvent,T_out_meas.nextTimeEventScaled) * Number of discrete states: 26 (T_out_meas.nextTimeEvent,E_meas.nextTimeEvent,W_air.nextTimeEvent,omega.nextTimeEvent,T_air.nextTimeEvent,W_c.nextTimeEvent,T_out_meas.nextTimeEventScaled,E_meas.nextTimeEventScaled,W_air.nextTimeEventScaled,omega.nextTimeEventScaled,T_air.nextTimeEventScaled,W_c.nextTimeEventScaled,DeltaP_pa.nextTimeEvent,DeltaP_pa.nextTimeEventScaled,DeltaP_mill_meas.nextTimeEvent,DeltaP_mill_meas.nextTimeEventScaled,E_model.nextTimeEvent,E_model.nextTimeEventScaled,DeltaP_mill_model.nextTimeEvent,DeltaP_mill_model.nextTimeEventScaled,T_out_model.nextTimeEvent,T_out_model.nextTimeEventScaled,W_pf_meas.nextTimeEvent,W_pf_meas.nextTimeEventScaled,W_pf_model.nextTimeEvent,W_pf_model.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * 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.005626/0.5839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003477/0.5874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001643/0.5875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001792/0.5893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005771/0.5951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.6086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.6108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.003613/0.6144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006155/0.6206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0002444/0.6208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.02428/0.6451, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1035] diffSimulationResults("ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.ValidateRollerBowlMill_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Mills.HardCoalMills.Check.ValidateRollerBowlMill_3.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: 5.742997406050563]