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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009755/0.0009755, allocations: 72.45 kB / 19.93 MB, free: 4.629 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.0009353/0.0009353, allocations: 169.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.9269/0.9269, allocations: 158.6 MB / 185 MB, free: 3.043 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.0417/0.0417, allocations: 10.65 MB / 247.9 MB, free: 4.809 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 371.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.841e-05, allocations: 6.219 kB / 371.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002412/0.002451, allocations: 1.758 MB / 373.5 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003986/0.002849, allocations: 155.5 kB / 373.6 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.002949, allocations: 3.938 kB / 373.6 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.003095, allocations: 19.8 kB / 373.6 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.003253, allocations: 35.72 kB / 373.7 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.222e-05/0.003335, allocations: 31.95 kB / 373.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.003506, allocations: 131.6 kB / 373.8 MB, free: 1.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.00365, allocations: 37.5 kB / 373.9 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.174e-05/0.003742, allocations: 75.81 kB / 374 MB, free: 1.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.003836, allocations: 35.89 kB / 374 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.003863, allocations: 8 kB / 374 MB, free: 1.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.528e-05/0.003879, allocations: 12 kB / 374 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.003907, allocations: 23.86 kB / 374 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.003949, allocations: 35.84 kB / 374.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.004104, allocations: 111.6 kB / 374.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004106, allocations: 0 / 374.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004107, allocations: 0 / 374.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004111, allocations: 0 / 374.2 MB, free: 1.086 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.0004693/0.004581, allocations: 357.8 kB / 374.5 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.004616, allocations: 15.97 kB / 374.5 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.004658, allocations: 16.84 kB / 374.6 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.004879, allocations: 150.2 kB / 374.7 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.004892, allocations: 8.375 kB / 374.7 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.004929, allocations: 12.38 kB / 374.7 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.005108, allocations: 112.7 kB / 374.8 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005117, allocations: 8.188 kB / 374.8 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.005131, allocations: 8.125 kB / 374.8 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005136, allocations: 0 / 374.8 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.005251, allocations: 70.55 kB / 374.9 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.005734, allocations: 369.1 kB / 375.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.006035, allocations: 115.8 kB / 375.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.0061, allocations: 50.62 kB / 375.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.006117, allocations: 3.938 kB / 375.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.006136, allocations: 34.56 kB / 375.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.006137, allocations: 0 / 375.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.006401, allocations: 125.5 kB / 375.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.006453, allocations: 102.8 kB / 375.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.006565, allocations: 162.2 kB / 375.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.006577, allocations: 29.7 kB / 375.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.006652, allocations: 120 kB / 376 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.006672, allocations: 31.73 kB / 376 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.006709, allocations: 25.7 kB / 376.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.006791, allocations: 318.8 kB / 376.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.006838, allocations: 27.92 kB / 376.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.006929, allocations: 112.8 kB / 376.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.00704, allocations: 87.38 kB / 376.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007042, allocations: 0 / 376.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000233/0.007274, allocations: 138.3 kB / 376.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.007289, allocations: 8 kB / 376.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007294, allocations: 0 / 376.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.007452, allocations: 36.92 kB / 376.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.007509, allocations: 19.92 kB / 376.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008252/0.008334, allocations: 1.316 MB / 378.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.008388, allocations: 11.98 kB / 378.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.008399, allocations: 4 kB / 378.1 MB, free: 12.76 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 8.318e-05/0.008482, allocations: 135.7 kB / 378.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.008501, allocations: 7.953 kB / 378.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.008519, allocations: 20.45 kB / 378.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.00852, allocations: 0 / 378.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.008523, allocations: 4 kB / 378.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.008526, allocations: 0 / 378.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.008654, allocations: 141.2 kB / 378.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008656, allocations: 0 / 378.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.008717, allocations: 19.97 kB / 378.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.008719, allocations: 4 kB / 378.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.00873, allocations: 8.062 kB / 378.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.008731, allocations: 0 / 378.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.008731, allocations: 0 / 378.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.009627, allocations: 1.27 MB / 379.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.009641, allocations: 19.86 kB / 379.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.009651, allocations: 11.94 kB / 379.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.009701, allocations: 7.938 kB / 379.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.009737, allocations: 3.984 kB / 379.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.009742, allocations: 4 kB / 379.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.567e-05/0.009807, allocations: 115.2 kB / 379.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009807, allocations: 0 / 379.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.01005, allocations: 24 kB / 379.9 MB, free: 10.82 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 7.982e-05/0.01013, allocations: 99.34 kB / 380 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.01044, allocations: 190.6 kB / 380.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01044, allocations: 3.938 kB / 380.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.01049, allocations: 35.91 kB / 380.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.01072, allocations: 21.86 kB / 380.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.01119, allocations: 381.3 kB / 380.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.01126, allocations: 97.23 kB / 380.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.572e-05/0.01131, allocations: 12.48 kB / 380.7 MB, free: 9.914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.01134, allocations: 12.5 kB / 380.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01134, allocations: 0 / 380.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of Templates: time 0.002998/0.01434, allocations: 1.43 MB / 382.2 MB, free: 8.484 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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: 3.140377609990537]