Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003524/0.0003524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005204/0.0008727, 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.0005981/0.0005981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004756/0.001074, 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.128/0.128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.07438/0.2024, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.01336/0.01336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.004303/0.01766, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.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) Running command: simulate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "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 3.515e-05/3.628e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning): time 0.01124/0.01127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005598/0.01687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0007784/0.01765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001228/0.01888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001497/0.02038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0009388/0.02131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001573/0.02289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.02351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.02488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.02549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.02563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.02601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.02622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.02661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001425/0.02804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000165/0.0282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.208e-06/0.02821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.889e-05/0.02823, 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.002174/0.0304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000109/0.03051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.03695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.03793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.03809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.03826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.0396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.03964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00614/0.04578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.04581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.04634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.05644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.05686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.05715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.05718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006579/0.06376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=66): time 9.067e-06/0.06377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=71): time 0.009724/0.07349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.07359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.07416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.07424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.07455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.07472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.07495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 7.355e-05/0.07502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.07516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.07542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/0.08212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.08214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.0008876/0.08303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.08308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.0831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.08313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.08377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.982e-05/0.08381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.08427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.08434, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 20 variables: noiseGen.U:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.nOx:DISCRETE(fixed = true protected = true ) type: Integer ATPIdigital.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.Pox:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.wox:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.period:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.UP:DISCRETE(fixed = true protected = true ) type: Boolean ATPIdigital.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real M1.la.i:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pin p to pin n\" type: Real J1.phi_rel:VARIABLE(start = 0.0 unit = \"rad\" fixed = true nominal = if J1.phi_nominal >= 2.220446049250313e-16 then J1.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) \"Relative rotation angle (= flange_b.phi - flange_a.phi)\" type: Real J1.w_rel:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"Relative angular velocity (= der(phi_rel))\" type: Real noiseGen.y:DISCRETE(flow=false fixed = true ) \"output\" type: Real L1.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real L1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real ATPIdigital.CSat:DISCRETE(fixed = true protected = true ) type: Real ATPIdigital.iMode:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.noiseGen.U,noiseGen.U,$PRE.ATPIdigital.nOx,ATPIdigital.nOx,$PRE.ATPIdigital.lastToggleUp,ATPIdigital.lastToggleUp,$PRE.ATPIdigital.rCSmin,ATPIdigital.rCSmin,$PRE.ATPIdigital.rCSmax,ATPIdigital.rCSmax,$PRE.ATPIdigital.rPVmin,ATPIdigital.rPVmin,$PRE.ATPIdigital.rPVmax,ATPIdigital.rPVmax,$PRE.ATPIdigital.Pox,ATPIdigital.Pox,$PRE.ATPIdigital.wox,ATPIdigital.wox,$PRE.ATPIdigital.period,ATPIdigital.period,$PRE.ATPIdigital.UP,ATPIdigital.UP,noiseGen.X,$PRE.noiseGen.X,$whenCondition5,ATPIdigital.TS_in,$PRE.noiseGen.y,$PRE.ATPIdigital.AT,$PRE.ATPIdigital.CSat,$PRE.ATPIdigital.TI,$PRE.ATPIdigital.K,$PRE.ATPIdigital.iMode,noiseGen.y,ATPIdigital.AT,ATPIdigital.CSat,ATPIdigital.TI,ATPIdigital.K,ATPIdigital.iMode,ATPIdigital.at_req,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition6,noiseGen.Yfp,noiseGen.Ufp[1],ATPIdigital.satLOW_in,ATPIdigital.satHIGH_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004453/0.08879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.08891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.08962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.08963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.08963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.08964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.09101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.09102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.09131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.09156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.09156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.09162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.09163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.09163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.09245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.09273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.09304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.09316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.09322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002339/0.09345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.98e-05/0.09347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0009648/0.09443, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (ATPIdigital.linFBout,M1.la.i,J1.phi_rel,J1.w_rel,L1.phi,L1.w) * Number of discrete variables: 25 ($whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,ATPIdigital.at_req,ATPIdigital.iMode,ATPIdigital.K,ATPIdigital.TI,ATPIdigital.CSat,ATPIdigital.AT,ATPIdigital.UP,ATPIdigital.rPVmax,ATPIdigital.rPVmin,ATPIdigital.rCSmax,ATPIdigital.rCSmin,ATPIdigital.lastToggleUp,ATPIdigital.period,ATPIdigital.wox,ATPIdigital.Pox,ATPIdigital.nOx,noiseGen.y,noiseGen.X,noiseGen.U) * Number of discrete states: 25 (noiseGen.y,noiseGen.U,$whenCondition5,noiseGen.X,$whenCondition4,$whenCondition3,ATPIdigital.nOx,ATPIdigital.lastToggleUp,ATPIdigital.rCSmin,ATPIdigital.rCSmax,ATPIdigital.rPVmin,ATPIdigital.rPVmax,ATPIdigital.Pox,ATPIdigital.wox,ATPIdigital.period,ATPIdigital.UP,ATPIdigital.CSat,$whenCondition2,ATPIdigital.iMode,$whenCondition1,ATPIdigital.AT,ATPIdigital.TI,ATPIdigital.K,ATPIdigital.CSpi,ATPIdigital.PV) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004971/0.09493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006156/0.09555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.92e-05/0.09558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.09589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.09669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.1019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002377/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.1026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.874e-05/0.1027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002587/0.1053, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.6893791407346725]