Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels.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.002182/0.002182, 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.0001966/0.0001966, 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.0001775/0.0001775, 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.09337/0.09337, 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.04951/0.04951, 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.TurboMachines.Pumps.Check.TestPumpModels,startTime=0,stopTime=200,tolerance=1e-06,numberOfIntervals=5029,outputFormat="mat",variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,startTime=0,stopTime=200,tolerance=1e-06,numberOfIntervals=5029,outputFormat="mat",variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 6.82e-07/6.82e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.359e-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.TurboMachines.Pumps.Check.TestPumpModels): time 0.02842/0.02843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03203/0.06046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.06272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.004127/0.06685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004606/0.07146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.00606/0.07752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003934/0.08145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.08288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.2384/0.3213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.3232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.3234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.3273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0008204/0.3281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0009822/0.3291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005208/0.3343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003781/0.3347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.693e-06/0.3347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.173e-05/0.3347, 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.004386/0.3391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001903/0.3393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.3398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.3424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.3428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/0.3467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-05/0.3468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/0.3471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/0.35, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008724/0.3587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.3618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.3622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.3625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002855/0.3653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=332): time 1.138e-05/0.3653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=333): time 0.009802/0.3751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.3772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0006736/0.3778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007676/0.3786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007071/0.3793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.05e-05/0.3793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.3799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.3806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.3822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.295e-05/0.3823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=491) (initialization): time 0.002749/0.385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.308e-05/0.3851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineHomotopy (initialization): time 0.0001789/0.3853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/0.3854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.3858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt generateHomotopyComponents (initialization): time 0.0001684/0.3871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.3882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.3896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008107/0.3904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006792/0.3911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001419/0.3925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.044e-05/0.3925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.00248/0.395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.299e-05/0.3951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/0.3952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.3955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.3996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.4008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.401, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 28 (p_out_n3.nextEventScaled,p_out_n3.nextEvent,$PRE.p_out_n3.nextEvent,p_out_n3.last,p_out_n3.b,p_out_n3.a,p_out_n2.nextEventScaled,p_out_n2.nextEvent,$PRE.p_out_n2.nextEvent,p_out_n2.last,p_out_n2.b,p_out_n2.a,p_out_n1.nextEventScaled,p_out_n1.nextEvent,$PRE.p_out_n1.nextEvent,p_out_n1.last,p_out_n1.b,p_out_n1.a,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 19 * 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 {(3,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0006226/0.4016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.4019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.4047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.4048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.4085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.653e-05/0.4086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.4091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.4094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-05/0.4095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007274/0.4102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.4123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/0.4132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007926/0.414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.4146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.4148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001063/0.416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.424e-05/0.4161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004514/0.4206, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pump_3.rho_CF_ps,pump_3.rho_upstream_ps,speed1.phi,firstOrder.y) * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,ramp1.a,ramp1.b,ramp1.last,ramp1.nextEvent,ramp1.nextEventScaled,p_out_n1.a,p_out_n1.b,p_out_n1.last,p_out_n1.nextEvent,p_out_n1.nextEventScaled,p_out_n2.a,p_out_n2.b,p_out_n2.last,p_out_n2.nextEvent,p_out_n2.nextEventScaled,p_out_n3.a,p_out_n3.b,p_out_n3.last,p_out_n3.nextEvent,p_out_n3.nextEventScaled) * Number of discrete states: 24 (p_out_n3.nextEvent,p_out_n3.last,p_out_n3.nextEventScaled,p_out_n3.b,p_out_n3.a,$whenCondition4,p_out_n2.nextEvent,p_out_n2.last,p_out_n2.nextEventScaled,p_out_n2.b,p_out_n2.a,$whenCondition3,p_out_n1.nextEvent,p_out_n1.last,p_out_n1.nextEventScaled,p_out_n1.b,p_out_n1.a,$whenCondition2,ramp1.nextEvent,ramp1.last,ramp1.nextEventScaled,ramp1.b,ramp1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003101/0.4237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003654/0.4274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.4283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.4306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.4363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/0.4371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001233/0.4383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/0.44, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 7.993e-05/0.44, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.02063/0.4607, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1039] diffSimulationResults("ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels.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: 1.7343311146833003]