Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 111.8 kB / 16.42 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 191.7 kB / 17.35 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.074/0.074, allocations: 16.78 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 429.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 53.56 MB / 482.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003029/0.1141, allocations: 1.795 MB / 484.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004217/0.1146, allocations: 151.5 kB / 484.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1147, allocations: 4 kB / 484.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1149, allocations: 19.73 kB / 484.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1151, allocations: 31.78 kB / 484.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.1152, allocations: 31.97 kB / 485 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1154, allocations: 143.6 kB / 485.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1156, allocations: 45.33 kB / 485.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.1156, allocations: 43.84 kB / 485.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1158, allocations: 55.7 kB / 485.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1158, allocations: 12 kB / 485.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.1159, allocations: 8 kB / 485.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.1159, allocations: 31.84 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.116, allocations: 55.67 kB / 485.3 MB, free: 440 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1162, allocations: 103.5 kB / 485.4 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1162, allocations: 3.984 kB / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1162, allocations: 0 / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1162, allocations: 0 / 485.5 MB, free: 332 kB / 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.0006388/0.1168, allocations: 438.7 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1169, allocations: 12.03 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.117, allocations: 16.84 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1173, allocations: 208.8 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1173, allocations: 12.31 kB / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.1173, allocations: 12.38 kB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1176, allocations: 116.3 kB / 486.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1176, allocations: 4 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1176, allocations: 4 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1176, allocations: 0 / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.1178, allocations: 67.89 kB / 486.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.1185, allocations: 445.3 kB / 486.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1189, allocations: 119.8 kB / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.119, allocations: 46.69 kB / 486.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1191, allocations: 8 kB / 486.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1191, allocations: 38.5 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1191, allocations: 0 / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003897/0.1195, allocations: 129.4 kB / 487.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1195, allocations: 107.1 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1197, allocations: 149.1 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1197, allocations: 29.7 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.1198, allocations: 116 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1198, allocations: 27.78 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1199, allocations: 17.72 kB / 487.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.12, allocations: 322.8 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.1201, allocations: 27.92 kB / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1202, allocations: 69.06 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1204, allocations: 83.38 kB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1204, allocations: 256 / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003744/0.1208, allocations: 142.3 kB / 488.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1208, allocations: 8 kB / 488.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1208, allocations: 0 / 488.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.121, allocations: 44.84 kB / 488.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1211, allocations: 15.98 kB / 488.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.1223, allocations: 1.45 MB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.1224, allocations: 7.984 kB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1224, allocations: 4.188 kB / 489.7 MB, free: 11.62 MB / 366.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 9.468e-05/0.1225, allocations: 121.8 kB / 489.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1225, allocations: 19.91 kB / 489.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1226, allocations: 20.3 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1226, allocations: 3.938 kB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1226, allocations: 4 kB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.1226, allocations: 81.06 kB / 489.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1227, allocations: 4 kB / 489.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1228, allocations: 7.984 kB / 489.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1228, allocations: 11.98 kB / 490 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003867/0.1232, allocations: 339.3 kB / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004007/0.1236, allocations: 449.3 kB / 490.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.466e-05/0.1237, allocations: 32 kB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.999e-05/0.1238, allocations: 115.2 kB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Backend: time 3.4e-07/0.1238, allocations: 0 / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.1246, allocations: 257.5 kB / 491.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007155/0.1254, allocations: 0.6946 MB / 491.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Templates: time 0.004236/0.1296, allocations: 1.417 MB / 493.2 MB, free: 7.961 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestLeadLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches