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.001011/0.001011, allocations: 78.66 kB / 20.66 MB, free: 3.836 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.0009444/0.0009444, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.887/0.887, allocations: 158.6 MB / 186 MB, free: 2.801 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.04348/0.04348, allocations: 10.66 MB / 249 MB, free: 4.277 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 2.515e-06/2.515e-06, allocations: 0 / 320.7 MB, free: 39.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.022e-05, allocations: 2.859 kB / 320.7 MB, free: 39.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002401/0.002431, allocations: 1.798 MB / 322.5 MB, free: 37.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004006/0.002832, allocations: 159.5 kB / 322.7 MB, free: 37.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.002952, allocations: 7.938 kB / 322.7 MB, free: 37.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.003093, allocations: 15.8 kB / 322.7 MB, free: 37.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.003238, allocations: 35.72 kB / 322.7 MB, free: 37.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.861e-05/0.003316, allocations: 31.95 kB / 322.8 MB, free: 37.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003442, allocations: 135.6 kB / 322.9 MB, free: 37.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.003571, allocations: 34.84 kB / 322.9 MB, free: 37.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.00365, allocations: 71.81 kB / 323 MB, free: 36.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.00374, allocations: 35.89 kB / 323 MB, free: 36.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.003765, allocations: 15.94 kB / 323.1 MB, free: 36.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.003778, allocations: 8 kB / 323.1 MB, free: 36.92 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.003803, allocations: 23.92 kB / 323.1 MB, free: 36.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.003836, allocations: 27.91 kB / 323.1 MB, free: 36.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003963, allocations: 83.61 kB / 323.2 MB, free: 36.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.003966, allocations: 0 / 323.2 MB, free: 36.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003967, allocations: 0 / 323.2 MB, free: 36.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.003972, allocations: 0 / 323.2 MB, free: 36.79 MB / 282.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.0004146/0.004386, allocations: 454.5 kB / 323.6 MB, free: 36.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.004431, allocations: 16.02 kB / 323.7 MB, free: 36.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.004471, allocations: 21.91 kB / 323.7 MB, free: 36.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.004628, allocations: 156.9 kB / 323.8 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.00464, allocations: 4.375 kB / 323.8 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.004673, allocations: 12.38 kB / 323.9 MB, free: 36.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.004827, allocations: 114.5 kB / 324 MB, free: 35.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.004837, allocations: 8.125 kB / 324 MB, free: 35.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.004847, allocations: 12.12 kB / 324 MB, free: 35.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004854, allocations: 0 / 324 MB, free: 35.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.004891, allocations: 22.17 kB / 324 MB, free: 35.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.005294, allocations: 406.2 kB / 324.4 MB, free: 35.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.005492, allocations: 121.3 kB / 324.5 MB, free: 35.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.005522, allocations: 43.92 kB / 324.6 MB, free: 35.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.005542, allocations: 0 / 324.6 MB, free: 35.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.005559, allocations: 41.39 kB / 324.6 MB, free: 35.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.00556, allocations: 0 / 324.6 MB, free: 35.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001712/0.005731, allocations: 77.56 kB / 324.7 MB, free: 35.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.005756, allocations: 106.8 kB / 324.8 MB, free: 35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.005824, allocations: 209.8 kB / 325 MB, free: 34.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.005832, allocations: 25.7 kB / 325 MB, free: 34.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.005876, allocations: 162.7 kB / 325.2 MB, free: 34.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.00589, allocations: 32 kB / 325.2 MB, free: 34.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.005924, allocations: 27.36 kB / 325.2 MB, free: 34.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.005972, allocations: 0.4962 MB / 325.7 MB, free: 34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.005989, allocations: 4.25 kB / 325.7 MB, free: 34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.006028, allocations: 114.3 kB / 325.8 MB, free: 33.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.006076, allocations: 66.67 kB / 325.9 MB, free: 33.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006078, allocations: 0 / 325.9 MB, free: 33.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000165/0.006243, allocations: 105.2 kB / 326 MB, free: 33.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.006256, allocations: 11.94 kB / 326 MB, free: 33.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006262, allocations: 0 / 326 MB, free: 33.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.006434, allocations: 39.62 kB / 326.1 MB, free: 33.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.006481, allocations: 12.09 kB / 326.1 MB, free: 33.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006064/0.007087, allocations: 1.76 MB / 327.8 MB, free: 31.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.007138, allocations: 11.89 kB / 327.8 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.007145, allocations: 4 kB / 327.9 MB, free: 31.7 MB / 282.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 5.741e-05/0.007203, allocations: 164.5 kB / 328 MB, free: 31.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.007225, allocations: 11.95 kB / 328 MB, free: 31.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.446e-05/0.00724, allocations: 20.48 kB / 328 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007241, allocations: 0 / 328 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007242, allocations: 0 / 328 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007246, allocations: 4 kB / 328 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.007349, allocations: 129.2 kB / 328.2 MB, free: 31.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007351, allocations: 0 / 328.2 MB, free: 31.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.007403, allocations: 20.12 kB / 328.2 MB, free: 31.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007405, allocations: 4 kB / 328.2 MB, free: 31.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007413, allocations: 7.922 kB / 328.2 MB, free: 31.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007415, allocations: 4 kB / 328.2 MB, free: 31.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.007416, allocations: 3.938 kB / 328.2 MB, free: 31.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.007977, allocations: 1.528 MB / 329.7 MB, free: 29.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.007986, allocations: 11.91 kB / 329.8 MB, free: 29.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.007994, allocations: 0 / 329.8 MB, free: 29.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.008039, allocations: 7.984 kB / 329.8 MB, free: 29.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.008072, allocations: 11.98 kB / 329.8 MB, free: 29.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.008075, allocations: 0 / 329.8 MB, free: 29.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.708e-05/0.008112, allocations: 153 kB / 329.9 MB, free: 29.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.008112, allocations: 4 kB / 329.9 MB, free: 29.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.008357, allocations: 24 kB / 329.9 MB, free: 29.44 MB / 282.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 8.603e-05/0.008443, allocations: 99.17 kB / 330 MB, free: 29.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.008674, allocations: 237.3 kB / 330.3 MB, free: 29.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008676, allocations: 0 / 330.3 MB, free: 29.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.008701, allocations: 27.86 kB / 330.3 MB, free: 29.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.008929, allocations: 33.73 kB / 330.3 MB, free: 29.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.009312, allocations: 427.2 kB / 330.8 MB, free: 28.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.009342, allocations: 67.33 kB / 330.8 MB, free: 28.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.471e-05/0.009387, allocations: 16.73 kB / 330.8 MB, free: 28.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.009449, allocations: 86.2 kB / 330.9 MB, free: 28.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.009451, allocations: 0 / 330.9 MB, free: 28.36 MB / 282.7 MB Notification: Performance of Templates: time 0.003358/0.01281, allocations: 1.577 MB / 332.5 MB, free: 26.81 MB / 282.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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] 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: 2.8856619661673903]