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.002452/0.002452, 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.0001786/0.0001786, 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.0001801/0.0001801, 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.1425/0.1425, 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.05711/0.05711, 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.443e-06/1.443e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.878e-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.02669/0.02671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03829/0.065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.06783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.004633/0.07247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004566/0.07703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.009017/0.08605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004467/0.09052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.09393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.278/0.3719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.3752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0007686/0.376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.008455/0.3845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002692/0.3872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002518/0.3897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01184/0.4015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0009412/0.4025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.114e-06/0.4025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.598e-05/0.4025, 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.01141/0.4139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0003533/0.4143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.4154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.006877/0.4223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006356/0.4231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006695/0.4298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/0.43, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005098/0.4305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.4307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/0.4373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0009893/0.459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.4596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003709/0.4633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=285): time 1.899e-05/0.4633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=285): time 0.009626/0.473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004091/0.4734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007797/0.4812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0006568/0.4818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0008359/0.4838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002094/0.4859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.122e-05/0.4859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.4872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.4892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/0.4931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/0.4931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=400) (initialization): time 0.004536/0.4977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.4977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.4978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.4988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.5017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.5032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.5055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004312/0.506, 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.001878/0.5078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008936/0.5087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00559/0.5143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.5144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.5144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008366/0.5228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.5228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/0.5249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.5265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.5268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005255/0.5273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.5273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/0.5321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.005996/0.5381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/0.5403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.5422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008832/0.5431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004876/0.5436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00345/0.547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.000262/0.5473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00432/0.5516, 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): 1 system {22} * Without analytic Jacobian (size): 1 system {4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005253/0.5568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00298/0.5598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.5598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001664/0.5615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005164/0.5667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.5798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002886/0.5827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005914/0.5886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001893/0.5888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01876/0.6075, 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.867044201120734]