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.002839/0.002839, 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.0002292/0.0002292, 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.0002463/0.0002463, 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.1073/0.1073, 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.05368/0.05368, 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.583e-06/1.583e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.264e-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.06726/0.0673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.04522/0.1125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.1145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.005486/0.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006216/0.1262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0124/0.1386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.006643/0.1453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.004678/0.1499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.354/0.504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.003652/0.5076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001164/0.5088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.009999/0.5188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.003825/0.5226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002909/0.5255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01933/0.5449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.00128/0.5461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.725e-06/0.5461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.95e-05/0.5462, 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.01427/0.5604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000395/0.5608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.007621/0.5697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.57, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008312/0.5708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.007391/0.5782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/0.5785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005706/0.5791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/0.5794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00691/0.5863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004638/0.6096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.6108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/0.6114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004426/0.6158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=285): time 3.875e-05/0.6159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=285): time 0.03609/0.652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005325/0.6525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/0.6628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0007602/0.6636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002164/0.6658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0009556/0.6667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/0.6691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.634e-05/0.6691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.6729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.005173/0.6781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.133e-05/0.6782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=400) (initialization): time 0.01159/0.6898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.19e-05/0.6898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-05/0.6899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.6912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.6945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.6964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/0.6996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005042/0.7001, 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.002781/0.7029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008237/0.7122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/0.7122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.7122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/0.7123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.7249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/0.7275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.7285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003619/0.7289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/0.7299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.7299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007631/0.7375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.008581/0.7461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002491/0.7486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/0.7509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/0.7521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005323/0.7527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.005442/0.7581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0005367/0.7586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004696/0.7633, 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.005463/0.7688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004028/0.7728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.917e-05/0.7729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002088/0.7749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006002/0.781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.7937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.7958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.003396/0.7992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006436/0.8056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003291/0.806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.02656/0.8325, 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: 6.287924451287836]