Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.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.0002378/0.0002378, 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.0002046/0.0002046, 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.05705/0.05705, 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.006617/0.006617, 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.TestDerivativeLag,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(PowerGrids.Controls.Test.TestDerivativeLag,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.31e-07/6.31e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.698e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.006472/0.006489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0005941/0.007083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.01023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.01036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.01051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.01068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001598/0.01084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.01096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.01108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.01113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.01115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.01116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.01119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.01122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.01136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.01138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.104e-06/0.01138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.037e-06/0.01139, 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003511/0.01174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.0118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.01185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.01201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.01205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.01208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.01229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.01229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.01231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.01232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.01238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.0129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.01308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.01615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.01619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=7): time 5.801e-06/0.0162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=7): time 0.0001764/0.01637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.0164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/0.01648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.01651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.01657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.0166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.01666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.122e-05/0.01669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.01671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.01677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.01685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001516/0.01701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.01704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.01716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.01725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.01727, 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: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 8.413e-05/0.01735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.01738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.01742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.01768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.01776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.01776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.01777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.01778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.01798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.01802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.01807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.01818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.01822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.01823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.025e-05/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.147e-06/0.01829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005018/0.01879, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.y) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001091/0.0189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000117/0.01901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.01905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.01965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.02022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.02026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.293e-05/0.02032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.02041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.029e-05/0.02043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001259/0.02169, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_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.7250126069411635]