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.0009657/0.0009657, allocations: 76.45 kB / 19.93 MB, free: 4.598 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.0008843/0.0008843, allocations: 169.9 kB / 23.22 MB, free: 1.312 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.9075/0.9075, allocations: 158.6 MB / 185 MB, free: 3.031 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.03782/0.03782, allocations: 10.66 MB / 247.9 MB, free: 4.711 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.493e-06/1.493e-06, allocations: 0 / 371.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.194e-05, allocations: 6.219 kB / 371.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002523/0.002555, allocations: 1.76 MB / 373.5 MB, free: 1.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.002922, allocations: 155.5 kB / 373.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.003017, allocations: 7.938 kB / 373.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.003194, allocations: 19.8 kB / 373.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003354, allocations: 27.73 kB / 373.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.66e-05/0.00343, allocations: 35.95 kB / 373.7 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.003578, allocations: 131.6 kB / 373.8 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.003725, allocations: 37.52 kB / 373.9 MB, free: 1.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.003809, allocations: 79.8 kB / 374 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.003902, allocations: 31.91 kB / 374 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.003932, allocations: 8 kB / 374 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.003948, allocations: 12 kB / 374 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.003978, allocations: 27.84 kB / 374 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.004022, allocations: 35.91 kB / 374.1 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.00417, allocations: 107.6 kB / 374.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004173, allocations: 0 / 374.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004174, allocations: 0 / 374.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.004178, allocations: 0 / 374.2 MB, free: 1.051 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.000515/0.004693, allocations: 361.8 kB / 374.5 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.004738, allocations: 8.031 kB / 374.5 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.004786, allocations: 20.78 kB / 374.6 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.005025, allocations: 150.2 kB / 374.7 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.005039, allocations: 8.375 kB / 374.7 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.005069, allocations: 8.375 kB / 374.7 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.005258, allocations: 120.7 kB / 374.8 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.00527, allocations: 4.188 kB / 374.8 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.005286, allocations: 8.125 kB / 374.9 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.005293, allocations: 4 kB / 374.9 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.005405, allocations: 55.95 kB / 374.9 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.005917, allocations: 373.1 kB / 375.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.006221, allocations: 115.8 kB / 375.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.006291, allocations: 50.69 kB / 375.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.006312, allocations: 15.92 kB / 375.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.006334, allocations: 30.56 kB / 375.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.006336, allocations: 0 / 375.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002724/0.006608, allocations: 125.5 kB / 375.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.006665, allocations: 102.8 kB / 375.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.006787, allocations: 158.2 kB / 375.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.006806, allocations: 37.7 kB / 375.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.006883, allocations: 116 kB / 376 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.007036, allocations: 23.75 kB / 376 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.007077, allocations: 33.64 kB / 376.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.007183, allocations: 318.8 kB / 376.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.007235, allocations: 23.98 kB / 376.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.007318, allocations: 108.5 kB / 376.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.00743, allocations: 91.62 kB / 376.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007431, allocations: 0 / 376.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002257/0.007657, allocations: 134.3 kB / 376.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.007673, allocations: 8 kB / 376.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007678, allocations: 0 / 376.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.007847, allocations: 40.92 kB / 376.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.633e-05/0.007913, allocations: 15.98 kB / 376.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/0.008826, allocations: 1.315 MB / 378.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.008883, allocations: 11.95 kB / 378.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.008892, allocations: 0 / 378.1 MB, free: 12.73 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.966e-05/0.008981, allocations: 139.7 kB / 378.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.009001, allocations: 7.953 kB / 378.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.009019, allocations: 16.45 kB / 378.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.00902, allocations: 0 / 378.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009022, allocations: 4 kB / 378.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.009026, allocations: 144 / 378.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.009151, allocations: 145.2 kB / 378.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.009156, allocations: 7.969 kB / 378.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-05/0.009219, allocations: 15.98 kB / 378.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.009221, allocations: 8 kB / 378.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.009232, allocations: 4 kB / 378.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.009234, allocations: 4.062 kB / 378.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.009236, allocations: 4 kB / 378.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.01013, allocations: 1.262 MB / 379.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.01015, allocations: 19.86 kB / 379.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.01016, allocations: 7.938 kB / 379.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.01021, allocations: 7.938 kB / 379.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.01025, allocations: 7.984 kB / 379.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.01026, allocations: 4 kB / 379.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.514e-05/0.01032, allocations: 115.2 kB / 379.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01032, allocations: 0 / 379.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.01053, allocations: 28 kB / 379.9 MB, free: 10.79 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.422e-05/0.01061, allocations: 99.28 kB / 380 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.01092, allocations: 194.6 kB / 380.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.01092, allocations: 0 / 380.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.01097, allocations: 31.91 kB / 380.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.01119, allocations: 27.42 kB / 380.3 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.01165, allocations: 373.8 kB / 380.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.193e-05/0.01171, allocations: 89.31 kB / 380.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.01176, allocations: 16.42 kB / 380.7 MB, free: 9.883 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.0118, allocations: 12.5 kB / 380.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.0118, allocations: 0 / 380.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of Templates: time 0.003114/0.01491, allocations: 1.429 MB / 382.2 MB, free: 8.449 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: 2.8958599409088492]