Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007568/0.0007568, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [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.0008305/0.0008305, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [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.7618/0.7618, allocations: 158.6 MB / 185 MB, free: 2.852 MB / 170.7 MB " [Timeout remaining time 179] 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.03722/0.03722, allocations: 10.65 MB / 247.9 MB, free: 4.703 MB / 234.7 MB " [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: translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 371.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.217e-05, allocations: 8.109 kB / 371.7 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001875/0.001897, allocations: 1.749 MB / 373.5 MB, free: 1.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002818/0.002179, allocations: 155.5 kB / 373.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.002254, allocations: 7.938 kB / 373.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.002362, allocations: 15.8 kB / 373.6 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.002492, allocations: 35.72 kB / 373.7 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.41e-05/0.002556, allocations: 39.95 kB / 373.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.002683, allocations: 127.6 kB / 373.8 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.002807, allocations: 37.5 kB / 373.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.002875, allocations: 75.81 kB / 373.9 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.002946, allocations: 35.89 kB / 374 MB, free: 1.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.002971, allocations: 12 kB / 374 MB, free: 1.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.002982, allocations: 8 kB / 374 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.003004, allocations: 23.86 kB / 374 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.003034, allocations: 35.91 kB / 374.1 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.003165, allocations: 107.5 kB / 374.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003167, allocations: 0 / 374.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003167, allocations: 4 kB / 374.2 MB, free: 1.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.00317, allocations: 0 / 374.2 MB, free: 1.047 MB / 298.7 MB 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.0004375/0.003608, allocations: 357.8 kB / 374.5 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.003636, allocations: 8.031 kB / 374.5 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.003671, allocations: 16.84 kB / 374.5 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.003867, allocations: 162.1 kB / 374.7 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.003877, allocations: 4.375 kB / 374.7 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.0039, allocations: 8.375 kB / 374.7 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.004056, allocations: 116.8 kB / 374.8 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.004065, allocations: 4.125 kB / 374.8 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.004076, allocations: 16.11 kB / 374.8 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.00408, allocations: 0 / 374.8 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.004183, allocations: 59.95 kB / 374.9 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.004579, allocations: 369.1 kB / 375.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.004878, allocations: 119.8 kB / 375.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.004938, allocations: 54.56 kB / 375.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.004952, allocations: 3.938 kB / 375.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.004968, allocations: 38.56 kB / 375.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.004969, allocations: 0 / 375.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000228/0.005197, allocations: 117.5 kB / 375.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.005236, allocations: 110.8 kB / 375.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/0.005326, allocations: 157.9 kB / 375.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.005337, allocations: 25.95 kB / 375.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.00539, allocations: 124 kB / 376 MB, free: 15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.005405, allocations: 23.75 kB / 376 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.005437, allocations: 29.7 kB / 376.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.005506, allocations: 322.8 kB / 376.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.00555, allocations: 23.92 kB / 376.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.005623, allocations: 112.5 kB / 376.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.005725, allocations: 87.62 kB / 376.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005727, allocations: 4 kB / 376.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002046/0.005932, allocations: 134.3 kB / 376.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.005942, allocations: 4 kB / 376.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005947, allocations: 4 kB / 376.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.006083, allocations: 40.92 kB / 376.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.006135, allocations: 11.98 kB / 376.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008156/0.00695, allocations: 1.316 MB / 378.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.007003, allocations: 15.97 kB / 378.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.007011, allocations: 4 kB / 378.1 MB, free: 12.72 MB / 314.7 MB 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 7.047e-05/0.007081, allocations: 135.7 kB / 378.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.0071, allocations: 11.95 kB / 378.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.007116, allocations: 16.45 kB / 378.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.007117, allocations: 0 / 378.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-07/0.007118, allocations: 0 / 378.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.00712, allocations: 0 / 378.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.00723, allocations: 141.2 kB / 378.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.007232, allocations: 4 kB / 378.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.007286, allocations: 15.98 kB / 378.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007288, allocations: 3.984 kB / 378.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.007296, allocations: 4 kB / 378.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007297, allocations: 4 kB / 378.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.007298, allocations: 4.062 kB / 378.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.007485, allocations: 241.2 kB / 378.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.007497, allocations: 11.95 kB / 378.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.007506, allocations: 3.938 kB / 378.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.007561, allocations: 4 kB / 378.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.00759, allocations: 8.047 kB / 378.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.007594, allocations: 8 kB / 378.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.007648, allocations: 119.2 kB / 378.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007648, allocations: 0 / 378.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000167/0.007815, allocations: 19.94 kB / 378.9 MB, free: 11.91 MB / 314.7 MB 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 6.378e-05/0.007879, allocations: 99.25 kB / 379 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.008151, allocations: 198.8 kB / 379.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008152, allocations: 7.938 kB / 379.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/0.008201, allocations: 31.92 kB / 379.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.00841, allocations: 26.67 kB / 379.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.008763, allocations: 276.5 kB / 379.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.497e-05/0.008818, allocations: 94.12 kB / 379.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.00885, allocations: 16.5 kB / 379.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00885, allocations: 0 / 379.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Templates: time 0.002356/0.01121, allocations: 1.758 MB / 381.3 MB, free: 9.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.016148556023836]