Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.002481/0.002481, 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.0001735/0.0001735, 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.1138/0.1138, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.05385/0.05385, 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 1.9.0/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_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_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 8.12e-07/8.12e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 8.135e-06/8.947e-06, 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.03102/0.03103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.04329/0.07432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.07625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.004944/0.0812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005603/0.0868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.09926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.005894/0.1052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.1098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.3919/0.5017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005627/0.5073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001778/0.5091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.01335/0.5224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.006451/0.5289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.004802/0.5337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.02503/0.5587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.002697/0.5614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.605e-06/0.5614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.45e-05/0.5615, 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.01918/0.5807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0005128/0.5812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.5832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00924/0.5925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007467/0.5999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.6232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.00037/0.6236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007084/0.6307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004121/0.6311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.6504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.6701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.00486/0.675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.6765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/0.6772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005652/0.6828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=285): time 4.457e-05/0.6829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=285): time 0.01381/0.6967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004426/0.6971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/0.7091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001371/0.7105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002483/0.7129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.7143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0029/0.7172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.997e-05/0.7172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.7185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.7213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.005549/0.7269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/0.727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=400) (initialization): time 0.008419/0.7354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.7355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/0.7355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.7369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.7402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.7423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.7459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005454/0.7464, 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.00331/0.7498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/0.7511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009066/0.7602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.153e-05/0.7602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.353e-05/0.7603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.7759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.7759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/0.7784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.7796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/0.7799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008345/0.7807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.7807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0079/0.7886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.009741/0.7984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002877/0.8013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/0.8039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/0.8052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006037/0.8058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.006461/0.8123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0006735/0.813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.005849/0.8188, 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.00659/0.8254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004606/0.83, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.546e-05/0.8301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002443/0.8325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00718/0.8397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.8543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.8564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.004205/0.8606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006892/0.8675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004131/0.8679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0302/0.8981, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1035] diffSimulationResults("ClaRa_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: 6.062261573970318]