Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.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.0002317/0.0002317, 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.0001924/0.0001924, 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.06208/0.06208, 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.00842/0.00842, 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.TestLeadLag,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(PowerGrids.Controls.Test.TestLeadLag,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.919e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002596/0.002625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0003904/0.003015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.00309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.003256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.00338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 8.448e-05/0.003464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001357/0.0036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.003725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.003843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.00392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.003936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.00395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.003978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.004011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.004159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.978e-05/0.004178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.286e-06/0.004182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.871e-06/0.004188, 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004208/0.004608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.00466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.004699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.004849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.00487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.004894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.005044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-06/0.005048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.005063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.005066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 5.517e-05/0.005121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.005573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.005808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.00584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.005853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.005869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.005872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=7): time 0.0001746/0.006047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.006071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/0.006132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.006153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.006201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.006227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.00627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.341e-05/0.006293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.006308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.006356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/0.006425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.006428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002916/0.00672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.006749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.006758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.007052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.007129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.008135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.008221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.008233, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/0.008319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.008345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.008373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.008376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.008384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.008659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.008662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.008732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.008736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.008752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.008755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.008758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.009467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.009482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.009521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.009616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.009657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.009667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.201e-05/0.009699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.615e-06/0.009701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006234/0.01032, 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 (leadLag.firstOrder.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.0001087/0.01043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002424/0.01068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.01071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.0111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.0115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.239e-05/0.01153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.582e-05/0.01158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.0117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.9e-05/0.01172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002216/0.01394, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_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.7487732982262969]