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.001409/0.001409, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.00155/0.00155, allocations: 165.3 kB / 22.76 MB, free: 1.648 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 1.519/1.519, allocations: 158.6 MB / 184.6 MB, free: 2.492 MB / 170.7 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.06846/0.06846, allocations: 10.65 MB / 247.5 MB, free: 4.508 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.883e-06/1.883e-06, allocations: 0 / 318.7 MB, free: 39.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.624e-05, allocations: 2.312 kB / 318.7 MB, free: 39.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002333/0.002359, allocations: 1.76 MB / 320.5 MB, free: 38.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003282/0.002687, allocations: 155.5 kB / 320.6 MB, free: 38.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.002771, allocations: 3.938 kB / 320.6 MB, free: 38.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.002897, allocations: 15.81 kB / 320.6 MB, free: 38.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.003057, allocations: 39.7 kB / 320.7 MB, free: 38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.4e-05/0.003131, allocations: 31.97 kB / 320.7 MB, free: 37.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.00326, allocations: 135.6 kB / 320.8 MB, free: 37.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003368, allocations: 34.84 kB / 320.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003469, allocations: 67.83 kB / 320.9 MB, free: 37.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.003552, allocations: 39.88 kB / 321 MB, free: 37.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.003576, allocations: 8 kB / 321 MB, free: 37.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.003592, allocations: 12 kB / 321 MB, free: 37.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.003613, allocations: 23.86 kB / 321 MB, free: 37.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.003649, allocations: 31.91 kB / 321 MB, free: 37.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.003789, allocations: 115.5 kB / 321.2 MB, free: 37.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003791, allocations: 4 kB / 321.2 MB, free: 37.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003792, allocations: 0 / 321.2 MB, free: 37.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.003796, allocations: 0 / 321.2 MB, free: 37.5 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.0004757/0.004272, allocations: 347.3 kB / 321.5 MB, free: 37.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.004306, allocations: 15.97 kB / 321.5 MB, free: 37.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.004378, allocations: 20.84 kB / 321.5 MB, free: 37.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.004592, allocations: 162.2 kB / 321.7 MB, free: 36.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.004606, allocations: 12.38 kB / 321.7 MB, free: 36.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.004638, allocations: 4.375 kB / 321.7 MB, free: 36.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.004862, allocations: 120.7 kB / 321.8 MB, free: 36.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.004871, allocations: 192 / 321.8 MB, free: 36.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.004884, allocations: 8.125 kB / 321.8 MB, free: 36.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.004888, allocations: 4 kB / 321.8 MB, free: 36.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.005066, allocations: 59.89 kB / 321.9 MB, free: 36.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.005545, allocations: 377 kB / 322.3 MB, free: 36.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.005912, allocations: 124.3 kB / 322.4 MB, free: 36.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.006007, allocations: 46.69 kB / 322.4 MB, free: 36.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.006026, allocations: 8 kB / 322.4 MB, free: 36.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.006038, allocations: 34.56 kB / 322.5 MB, free: 36.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.006039, allocations: 0 / 322.5 MB, free: 36.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004017/0.006441, allocations: 126.7 kB / 322.6 MB, free: 35.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.006467, allocations: 106.8 kB / 322.7 MB, free: 35.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.006559, allocations: 154.4 kB / 322.9 MB, free: 35.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.00657, allocations: 29.64 kB / 322.9 MB, free: 35.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.006616, allocations: 120 kB / 323 MB, free: 35.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.006644, allocations: 23.8 kB / 323 MB, free: 35.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.006684, allocations: 25.66 kB / 323 MB, free: 35.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.00672, allocations: 318.8 kB / 323.4 MB, free: 35.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.006804, allocations: 23.98 kB / 323.4 MB, free: 35.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.006913, allocations: 125.4 kB / 323.5 MB, free: 34.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.007066, allocations: 76.28 kB / 323.6 MB, free: 34.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007068, allocations: 3.938 kB / 323.6 MB, free: 34.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003475/0.007415, allocations: 138.6 kB / 323.7 MB, free: 34.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.007427, allocations: 8 kB / 323.7 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007432, allocations: 64 / 323.7 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.007719, allocations: 40.83 kB / 323.8 MB, free: 34.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.007822, allocations: 23.92 kB / 323.8 MB, free: 34.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007939/0.008616, allocations: 1.319 MB / 325.1 MB, free: 33.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/0.008715, allocations: 15.97 kB / 325.1 MB, free: 33.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.008725, allocations: 4.141 kB / 325.1 MB, free: 33.16 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.852e-05/0.008783, allocations: 129.7 kB / 325.3 MB, free: 33.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.008829, allocations: 11.94 kB / 325.3 MB, free: 33.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.008852, allocations: 12.47 kB / 325.3 MB, free: 33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008853, allocations: 4.062 kB / 325.3 MB, free: 33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.008855, allocations: 4 kB / 325.3 MB, free: 32.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008858, allocations: 3.984 kB / 325.3 MB, free: 32.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.008991, allocations: 141.2 kB / 325.4 MB, free: 32.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008992, allocations: 0 / 325.4 MB, free: 32.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.009117, allocations: 19.92 kB / 325.4 MB, free: 32.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.00912, allocations: 4 kB / 325.5 MB, free: 32.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.009133, allocations: 4 kB / 325.5 MB, free: 32.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.009134, allocations: 0 / 325.5 MB, free: 32.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.009136, allocations: 1.016 kB / 325.5 MB, free: 32.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.00943, allocations: 237.1 kB / 325.7 MB, free: 32.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.009448, allocations: 15.92 kB / 325.7 MB, free: 32.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.009463, allocations: 4 kB / 325.7 MB, free: 32.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.009571, allocations: 8 kB / 325.7 MB, free: 32.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.009622, allocations: 7.922 kB / 325.7 MB, free: 32.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.009629, allocations: 4 kB / 325.7 MB, free: 32.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.687e-05/0.009686, allocations: 125 kB / 325.8 MB, free: 32.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009686, allocations: 0 / 325.8 MB, free: 32.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000254/0.00994, allocations: 23.94 kB / 325.9 MB, free: 32.36 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 7.696e-05/0.01002, allocations: 95.31 kB / 326 MB, free: 32.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.01043, allocations: 206.4 kB / 326.2 MB, free: 32.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01043, allocations: 0 / 326.2 MB, free: 32.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.01055, allocations: 31.91 kB / 326.2 MB, free: 32.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.01087, allocations: 29.78 kB / 326.2 MB, free: 31.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.01132, allocations: 253.3 kB / 326.5 MB, free: 31.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.01137, allocations: 93.98 kB / 326.6 MB, free: 31.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.01143, allocations: 8.5 kB / 326.6 MB, free: 31.58 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.01146, allocations: 12.5 kB / 326.6 MB, free: 31.57 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01146, allocations: 0 / 326.6 MB, free: 31.57 MB / 282.7 MB Notification: Performance of Templates: time 0.003774/0.01524, allocations: 1.371 MB / 328 MB, free: 30.23 MB / 282.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=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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: 4.6449195720488206]