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.0009921/0.0009921, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001042/0.001042, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.922/0.922, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.04526/0.04526, allocations: 10.65 MB / 248.2 MB, free: 4.355 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.633e-06/1.633e-06, allocations: 0 / 270.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.08e-05, allocations: 6.312 kB / 270.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002414/0.002434, allocations: 1.85 MB / 272.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003645/0.002799, allocations: 159.4 kB / 272.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.002895, allocations: 4 kB / 272.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.003029, allocations: 15.8 kB / 273 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.003177, allocations: 39.7 kB / 273 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.651e-05/0.003253, allocations: 39.91 kB / 273 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.003436, allocations: 135.6 kB / 273.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.00357, allocations: 34.17 kB / 273.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.003662, allocations: 67.83 kB / 273.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.003766, allocations: 43.81 kB / 273.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.003792, allocations: 8 kB / 273.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.003808, allocations: 12 kB / 273.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.003838, allocations: 19.92 kB / 273.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.003873, allocations: 31.91 kB / 273.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.004001, allocations: 79.67 kB / 273.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004003, allocations: 0 / 273.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004004, allocations: 3.938 kB / 273.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.004008, allocations: 4 kB / 273.5 MB, free: 11.05 MB / 266.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.0003684/0.004377, allocations: 324.4 kB / 273.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.004407, allocations: 8.031 kB / 273.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.004441, allocations: 16.92 kB / 273.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.0046, allocations: 150.1 kB / 274 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.004609, allocations: 8.375 kB / 274 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.004632, allocations: 12.38 kB / 274 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.004763, allocations: 105.4 kB / 274.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004769, allocations: 4.125 kB / 274.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.00478, allocations: 8.125 kB / 274.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.004786, allocations: 4 kB / 274.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.004825, allocations: 27.91 kB / 274.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.005169, allocations: 280.9 kB / 274.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.005372, allocations: 91.7 kB / 274.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.005403, allocations: 30.62 kB / 274.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.005415, allocations: 0 / 274.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.005436, allocations: 42.5 kB / 274.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005438, allocations: 0 / 274.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001309/0.005568, allocations: 69.61 kB / 274.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.005607, allocations: 111.1 kB / 274.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.005685, allocations: 142.6 kB / 274.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.005699, allocations: 33.7 kB / 274.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.005749, allocations: 111.9 kB / 275 MB, free: 9.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.005767, allocations: 27.78 kB / 275 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.005801, allocations: 21.72 kB / 275.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.00589, allocations: 322.8 kB / 275.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.005906, allocations: 7.984 kB / 275.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.005962, allocations: 100.5 kB / 275.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.006017, allocations: 55.38 kB / 275.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006019, allocations: 0 / 275.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001407/0.006159, allocations: 86.44 kB / 275.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.00617, allocations: 8 kB / 275.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/0.006225, allocations: 7.875 kB / 275.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.006384, allocations: 40.91 kB / 275.7 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.006431, allocations: 11.98 kB / 275.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009925/0.007424, allocations: 1.198 MB / 276.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.007469, allocations: 19.88 kB / 276.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.007478, allocations: 12.02 kB / 276.9 MB, free: 7.254 MB / 266.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.78e-05/0.007556, allocations: 109.8 kB / 277 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.007582, allocations: 16.25 kB / 277 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.007601, allocations: 16.45 kB / 277.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007603, allocations: 0 / 277.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.007606, allocations: 4 kB / 277.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.007609, allocations: 3.938 kB / 277.1 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.007717, allocations: 97.84 kB / 277.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007719, allocations: 0 / 277.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.007772, allocations: 23.92 kB / 277.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.007777, allocations: 7.938 kB / 277.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.007784, allocations: 0 / 277.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007785, allocations: 0 / 277.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007785, allocations: 0 / 277.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.007905, allocations: 173.2 kB / 277.4 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.007919, allocations: 16.03 kB / 277.4 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.007929, allocations: 7.922 kB / 277.4 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.007975, allocations: 8 kB / 277.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.008008, allocations: 7.984 kB / 277.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008011, allocations: 4.031 kB / 277.4 MB, free: 6.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.811e-05/0.00804, allocations: 33.58 kB / 277.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00804, allocations: 0 / 277.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.008189, allocations: 19.94 kB / 277.5 MB, free: 6.664 MB / 266.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 5.844e-05/0.008247, allocations: 80.41 kB / 277.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.00845, allocations: 167.3 kB / 277.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.008455, allocations: 4 kB / 277.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.008481, allocations: 32.97 kB / 277.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.008638, allocations: 31.92 kB / 277.8 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.008962, allocations: 238.3 kB / 278 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.767e-05/0.008999, allocations: 71.06 kB / 278.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.329e-05/0.009043, allocations: 12.86 kB / 278.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.009111, allocations: 63.38 kB / 278.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.009111, allocations: 4 kB / 278.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Templates: time 0.00289/0.012, allocations: 1.411 MB / 279.6 MB, free: 4.48 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.585733381099999]