Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build PowerGrids_symb_jac_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.0003579/0.0003579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006165/0.0009744, 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.0003976/0.0003976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005357/0.0009333, 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.05218/0.05218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04723/0.09942, 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.01416/0.01416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.006972/0.02113, 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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 4.21e-07/4.21e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.774e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002287/0.002305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0003977/0.002702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.002771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 8.397e-05/0.002855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 8.922e-05/0.002945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 9.289e-05/0.003037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001486/0.003186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.003277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.003395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.003445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.00346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.003473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.003496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.003526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.003636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.00365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.814e-06/0.003652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.996e-06/0.003655, 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.0003304/0.003986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.004033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.004071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.004215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.004241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.004261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.004431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.399e-06/0.004435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.00445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 5.549e-05/0.004509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.004984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.005186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.005212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.005223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.005237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=7): time 3.807e-06/0.005241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=7): time 0.0001211/0.005362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.005381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.005438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.005462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.005525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.005557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.00561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.831e-05/0.005629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.005644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.005681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.005736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.005738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001157/0.005854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.00587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.005876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.005884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.006029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.006035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.006094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.006104, 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 7.837e-05/0.006182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.006209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.006237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.00624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.006246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.006468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.00647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.006541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.00657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.006575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.006586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.00659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.006593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.007386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.00742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.007516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.007552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.007561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.516e-05/0.007597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.336e-06/0.0076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006628/0.008263, 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 9.241e-05/0.008355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001245/0.00848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.008494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.008518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.008801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.009265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.009301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.035e-05/0.009341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.009395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.288e-06/0.009404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001396/0.0108, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("PowerGrids_symb_jac_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.5798795847222209]