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.001283/0.001283, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001844/0.001844, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07735/0.07735, allocations: 16.78 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 429.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 53.57 MB / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002888/0.1082, allocations: 1.799 MB / 484.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004086/0.1086, allocations: 163.4 kB / 484.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1087, allocations: 0 / 484.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1089, allocations: 19.8 kB / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1091, allocations: 23.8 kB / 484.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.1092, allocations: 43.89 kB / 485 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1094, allocations: 123.7 kB / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1095, allocations: 57.3 kB / 485.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.1096, allocations: 47.8 kB / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1097, allocations: 55.7 kB / 485.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.1097, allocations: 8 kB / 485.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/0.1098, allocations: 8 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.1098, allocations: 23.92 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.1099, allocations: 59.66 kB / 485.3 MB, free: 424 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.11, allocations: 107.6 kB / 485.4 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.11, allocations: 0 / 485.4 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.11, allocations: 0 / 485.4 MB, free: 316 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1101, allocations: 0 / 485.4 MB, free: 316 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.0006235/0.1107, allocations: 441.5 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1107, allocations: 8.031 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1108, allocations: 16.75 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1111, allocations: 216.7 kB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1111, allocations: 8.375 kB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1111, allocations: 8.375 kB / 486.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1114, allocations: 128.3 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1114, allocations: 0 / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1114, allocations: 4 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1114, allocations: 4 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.1116, allocations: 59.88 kB / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.1123, allocations: 453.1 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.1127, allocations: 123.8 kB / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1128, allocations: 46.56 kB / 486.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.1128, allocations: 0 / 486.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1129, allocations: 38.56 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1129, allocations: 0 / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003824/0.1133, allocations: 129.6 kB / 487.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1133, allocations: 106.8 kB / 487.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.1135, allocations: 153.2 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1135, allocations: 25.7 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.1136, allocations: 115.9 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1136, allocations: 19.72 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1136, allocations: 25.7 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1137, allocations: 327 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.1138, allocations: 23.92 kB / 487.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1139, allocations: 61.14 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1141, allocations: 79.62 kB / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1141, allocations: 0 / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003681/0.1145, allocations: 146.2 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1145, allocations: 4.094 kB / 488.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1146, allocations: 4 kB / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.1148, allocations: 36.83 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1149, allocations: 15.98 kB / 488.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.116, allocations: 1.457 MB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.81e-05/0.1161, allocations: 11.94 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1161, allocations: 4 kB / 489.7 MB, free: 11.6 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 0.000108/0.1162, allocations: 129.8 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.1163, allocations: 11.91 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.1163, allocations: 8.312 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1163, allocations: 7.938 kB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1163, allocations: 0 / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.1164, allocations: 93 kB / 489.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1164, allocations: 0 / 489.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1165, allocations: 7.984 kB / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1166, allocations: 8 kB / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000379/0.117, allocations: 331.4 kB / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003997/0.1174, allocations: 465.1 kB / 490.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.121e-05/0.1175, allocations: 28.33 kB / 490.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.831e-05/0.1176, allocations: 115.2 kB / 490.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of Backend: time 7.41e-07/0.1176, allocations: 3.938 kB / 490.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007857/0.1184, allocations: 253.1 kB / 491.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006229/0.119, allocations: 0.6803 MB / 491.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Templates: time 0.003996/0.123, allocations: 1.425 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