Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.0002285/0.0002285, 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.0001665/0.0001665, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.04777/0.04777, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.007796/0.007796, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=240,outputFormat="mat",variableFilter="inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.[0-9,]+.|inputSignal.timeScale|inputSignal.y|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=240,outputFormat="mat",variableFilter="inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.[0-9,]+.|inputSignal.timeScale|inputSignal.y|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 4.71e-07/4.71e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.675e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002101/0.002118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001347/0.003465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.003544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.003668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.004251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002339/0.004485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.004557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.004758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.004897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.004928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.005077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.005146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 7.062e-05/0.005216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.005525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.578e-05/0.00555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.593e-06/0.005552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.426e-06/0.005555, 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006251/0.006181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.006242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.006311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.006573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.006595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.006629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.006959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.006964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.006991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.006995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.007124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.007712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.007959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.008015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.008038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.008206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=16): time 3.577e-06/0.00821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=16): time 0.0002485/0.008458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.008489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.008613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.008658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.008716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.008766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.008849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.33e-05/0.008873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.00893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.009006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.009152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.009155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002143/0.00937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.0094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.009405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.009413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.009555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.009562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.009687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.009714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.504e-05/0.009789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.238e-05/0.009851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001079/0.009959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.009962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001839/0.01015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.01017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.01041, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1,integrator1.I.local_reset,integrator2.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001177/0.01053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.01056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.01061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.01062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.0108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.0108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.0112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.01123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.918e-05/0.01132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.01142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.01151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.01153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.691e-05/0.01158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.64e-06/0.01159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0004527/0.01204, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001916/0.01223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002915/0.01253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.01254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.01262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.01336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.01341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 7.576e-05/0.01348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.01369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.298e-05/0.01371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001436/0.01515, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.7675511948764324]