Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem.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.004209/0.004209, 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.0002294/0.0002294, 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.0002434/0.0002434, 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.1583/0.1583, 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.07964/0.07964, 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.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem,startTime=0,stopTime=500,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|volumeGas_L2_chem.bulk.h|volumeGas_L2_chem.bulk.xi.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ClaRa.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem,startTime=0,stopTime=500,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|volumeGas_L2_chem.bulk.h|volumeGas_L2_chem.bulk.xi.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.463e-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.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem): time 0.02354/0.02356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01986/0.04342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.04463, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.002456/0.04709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001979/0.04907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.006497/0.05556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003144/0.05871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.06008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.5137/0.5738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.5755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0004383/0.576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.00578/0.5818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001723/0.5835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00151/0.585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01264/0.5976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.001288/0.5989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.264e-06/0.5989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.66e-05/0.599, 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: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.008238/0.6072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001961/0.6074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007112/0.6081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.6122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.6124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.6127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004946/0.6177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 7.255e-05/0.6177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.6182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00518/0.6234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.6348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003306/0.6382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.6392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/0.6396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.457e-05/0.6397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=296): time 9.818e-06/0.6397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=297): time 0.0142/0.6539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.6573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0004662/0.6577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.6582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004876/0.6587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009468/0.6597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.237e-05/0.6597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.6627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00446/0.6671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.6671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=347) (initialization): time 0.003987/0.6711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.6712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.6723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005866/0.6755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.6767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/0.677, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 10 variables: volumeGas_L2_chem.bulk.h:VARIABLE(start = volumeGas_L2_chem.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer ) \"Specific enthalpy\" type: Real volumeGas_L2_chem.bulk.xi[1]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[1] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[2]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[2] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[3]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[3] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[4]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[4] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[5]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[5] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[6]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[6] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[7]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[7] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[8]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[8] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] volumeGas_L2_chem.bulk.xi[9]:VARIABLE(min = 0.0 max = 1.0 start = volumeGas_L2_chem.xi_start[9] unit = \"1\" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) \"Mass fraction\" type: Real [9] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (317): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.6784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/0.684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.6841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.6841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/0.6915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.6916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/0.6941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/0.6963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005799/0.6968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.7015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.7029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/0.704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/0.7049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/0.706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/0.7063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002034/0.7083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001495/0.7085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002055/0.7105, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (volumeGas_L2_chem.bulk.h,volumeGas_L2_chem.bulk.xi[1],volumeGas_L2_chem.bulk.xi[2],volumeGas_L2_chem.bulk.xi[3],volumeGas_L2_chem.bulk.xi[4],volumeGas_L2_chem.bulk.xi[5],volumeGas_L2_chem.bulk.xi[6],volumeGas_L2_chem.bulk.xi[7],volumeGas_L2_chem.bulk.xi[8],volumeGas_L2_chem.bulk.xi[9]) * 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 (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009072/0.7196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.005636/0.7252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.7252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001472/0.7267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.73, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/0.7382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009968/0.7392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002459/0.7417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003142/0.7448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001199/0.7449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01886/0.7638, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1039] diffSimulationResults("ClaRa_ClaRa.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.ControlVolumes.GasVolumes.Check.TestFlueGasCell_chem.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: 2.039866717532277]