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.001613/0.001613, allocations: 100.4 kB / 20.45 MB, free: 1.379 MB / 14.72 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.002075/0.002075, allocations: 216.5 kB / 23.75 MB, free: 4.531 MB / 14.72 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 1.434/1.434, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.07041/0.07041, allocations: 14.39 MB / 301.2 MB, free: 7.242 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 79.88 kB / 425 MB, free: 36.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08321, allocations: 52.9 MB / 477.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003244/0.08645, allocations: 1.753 MB / 479.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004252/0.08688, allocations: 151.5 kB / 479.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.589e-05/0.08697, allocations: 7.938 kB / 479.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.08712, allocations: 19.8 kB / 479.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.08728, allocations: 23.8 kB / 479.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.878e-05/0.08737, allocations: 35.95 kB / 479.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.08758, allocations: 135.6 kB / 480 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.08773, allocations: 45.44 kB / 480 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.0878, allocations: 51.78 kB / 480.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.08792, allocations: 47.7 kB / 480.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.08795, allocations: 12 kB / 480.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.08797, allocations: 8 kB / 480.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.088, allocations: 27.86 kB / 480.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.08806, allocations: 39.78 kB / 480.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.08824, allocations: 107.5 kB / 480.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.08824, allocations: 0 / 480.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.08824, allocations: 0 / 480.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.08825, allocations: 0 / 480.3 MB, free: 12.79 MB / 350.1 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.0006657/0.08891, allocations: 361.8 kB / 480.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.08895, allocations: 8.031 kB / 480.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.089, allocations: 20.78 kB / 480.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.08929, allocations: 158.9 kB / 480.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.08931, allocations: 4.375 kB / 480.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.08934, allocations: 8.375 kB / 480.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.08961, allocations: 124.3 kB / 481 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.08962, allocations: 7.938 kB / 481 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.08963, allocations: 0 / 481 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.08963, allocations: 4 kB / 481 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.08984, allocations: 61.2 kB / 481.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.09049, allocations: 365 kB / 481.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.0909, allocations: 123.8 kB / 481.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.09102, allocations: 50.56 kB / 481.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.09104, allocations: 0 / 481.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.09107, allocations: 38.5 kB / 481.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.09107, allocations: 0 / 481.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004202/0.09149, allocations: 125.5 kB / 481.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.09156, allocations: 111 kB / 481.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.09172, allocations: 150.4 kB / 482 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.09175, allocations: 29.7 kB / 482 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.09184, allocations: 120 kB / 482.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.09187, allocations: 23.75 kB / 482.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.09192, allocations: 25.7 kB / 482.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.09208, allocations: 318.8 kB / 482.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.09218, allocations: 23.97 kB / 482.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.09233, allocations: 116.5 kB / 482.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.09253, allocations: 79.38 kB / 482.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09253, allocations: 0 / 482.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003721/0.0929, allocations: 138.3 kB / 482.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.09291, allocations: 4 kB / 482.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.09292, allocations: 96 / 482.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.09313, allocations: 44.83 kB / 482.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.09323, allocations: 11.98 kB / 482.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.09456, allocations: 1.323 MB / 484.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.09467, allocations: 15.91 kB / 484.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.09468, allocations: 8.062 kB / 484.3 MB, free: 8.445 MB / 350.1 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 0.0001104/0.09479, allocations: 117.8 kB / 484.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.09483, allocations: 16.08 kB / 484.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.09486, allocations: 16.39 kB / 484.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.09486, allocations: 7.938 kB / 484.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.09487, allocations: 4.25 kB / 484.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.09487, allocations: 0 / 484.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.09508, allocations: 145.3 kB / 484.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.09508, allocations: 4 kB / 484.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.09521, allocations: 19.98 kB / 484.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.09521, allocations: 0 / 484.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.09523, allocations: 3.984 kB / 484.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.09523, allocations: 4 kB / 484.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.09523, allocations: 3.984 kB / 484.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.09677, allocations: 1.273 MB / 485.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.09679, allocations: 15.86 kB / 485.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.09681, allocations: 3.984 kB / 485.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.09692, allocations: 8 kB / 485.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.09697, allocations: 7.984 kB / 485.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.09697, allocations: 3.938 kB / 485.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.09707, allocations: 123.9 kB / 486 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09707, allocations: 0 / 486 MB, free: 6.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.09743, allocations: 24 kB / 486 MB, free: 6.504 MB / 350.1 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 0.0001021/0.09753, allocations: 95.34 kB / 486.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004949/0.09803, allocations: 194.5 kB / 486.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.09803, allocations: 0 / 486.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.09814, allocations: 31.92 kB / 486.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.09848, allocations: 33.94 kB / 486.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.09919, allocations: 401.3 kB / 486.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.09929, allocations: 97.17 kB / 486.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.09934, allocations: 11.44 kB / 486.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.09934, allocations: 0 / 486.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Templates: time 0.003924/0.1033, allocations: 1.786 MB / 488.7 MB, free: 3.777 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/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: 7.437877311836928]