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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0834/0.0834, allocations: 16.95 MB / 322 MB, free: 12.77 MB / 254.1 MB [Timeout remaining time 90] 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=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_dev_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_dev_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.86 kB / 452.3 MB, free: 44.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1279, allocations: 56.52 MB / 0.4968 GB, free: 16.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002738/0.1306, allocations: 1.81 MB / 0.4986 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000377/0.131, allocations: 159.9 kB / 0.4988 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1311, allocations: 6.969 kB / 0.4988 GB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1312, allocations: 16.58 kB / 0.4988 GB, free: 14.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1314, allocations: 27.48 kB / 0.4988 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.1315, allocations: 33.7 kB / 0.4989 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1317, allocations: 131.4 kB / 0.499 GB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.1319, allocations: 45.19 kB / 0.499 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.13e-05/0.1319, allocations: 45.02 kB / 0.4991 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.132, allocations: 55.89 kB / 0.4991 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1321, allocations: 8.969 kB / 0.4991 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.1321, allocations: 10.62 kB / 0.4991 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.1321, allocations: 26.72 kB / 0.4992 GB, free: 14.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.1322, allocations: 57.41 kB / 0.4992 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1324, allocations: 105.7 kB / 0.4993 GB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1324, allocations: 3.938 kB / 0.4993 GB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1324, allocations: 0 / 0.4993 GB, free: 14.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.1324, allocations: 1.156 kB / 0.4993 GB, free: 14.36 MB / 366.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.000551/0.1329, allocations: 437.1 kB / 0.4997 GB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.133, allocations: 8.875 kB / 0.4997 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.133, allocations: 16.16 kB / 0.4998 GB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1333, allocations: 215.8 kB / 0.5 GB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1333, allocations: 8.719 kB / 0.5 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1333, allocations: 11.31 kB / 0.5 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.1336, allocations: 119.2 kB / 0.5001 GB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1336, allocations: 0 / 0.5001 GB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1336, allocations: 5.562 kB / 0.5001 GB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1336, allocations: 1.969 kB / 0.5001 GB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.1338, allocations: 66.08 kB / 0.5002 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1344, allocations: 448.1 kB / 0.5006 GB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.1347, allocations: 118.2 kB / 0.5007 GB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.1348, allocations: 45.69 kB / 0.5008 GB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1349, allocations: 5.312 kB / 0.5008 GB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.1349, allocations: 39.92 kB / 0.5008 GB, free: 12.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1349, allocations: 1.375 kB / 0.5008 GB, free: 12.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000376/0.1353, allocations: 126.9 kB / 0.5009 GB, free: 12.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1353, allocations: 104.2 kB / 0.501 GB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1354, allocations: 154.9 kB / 0.5012 GB, free: 12.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1354, allocations: 31.08 kB / 0.5012 GB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.1355, allocations: 117.4 kB / 0.5013 GB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1355, allocations: 23.91 kB / 0.5013 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.1356, allocations: 24.84 kB / 0.5014 GB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.1356, allocations: 328.2 kB / 0.5017 GB, free: 12.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.1357, allocations: 21.73 kB / 0.5017 GB, free: 12.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.1358, allocations: 57.64 kB / 0.5017 GB, free: 11.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.136, allocations: 85.62 kB / 0.5018 GB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.136, allocations: 1.375 kB / 0.5018 GB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003495/0.1363, allocations: 138.6 kB / 0.502 GB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1363, allocations: 9.5 kB / 0.502 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1363, allocations: 1.688 kB / 0.502 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.1366, allocations: 37.33 kB / 0.502 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1367, allocations: 19.17 kB / 0.502 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.1376, allocations: 1.457 MB / 0.5034 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1377, allocations: 12.12 kB / 0.5035 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1377, allocations: 10.53 kB / 0.5035 GB, free: 10.29 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 8.335e-05/0.1378, allocations: 124.3 kB / 0.5036 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1378, allocations: 12.69 kB / 0.5036 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.1378, allocations: 15.44 kB / 0.5036 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1378, allocations: 1.25 kB / 0.5036 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1378, allocations: 1.219 kB / 0.5036 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1379, allocations: 5.234 kB / 0.5036 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.138, allocations: 204.5 kB / 0.5038 GB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.138, allocations: 5.188 kB / 0.5038 GB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1382, allocations: 24.98 kB / 0.5038 GB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1382, allocations: 1.188 kB / 0.5038 GB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1382, allocations: 8.922 kB / 0.5039 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1382, allocations: 1.375 kB / 0.5039 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1382, allocations: 1.438 kB / 0.5039 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.1385, allocations: 228.9 kB / 0.5041 GB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.1385, allocations: 85.19 kB / 0.5042 GB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1385, allocations: 8.969 kB / 0.5042 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1387, allocations: 3.281 kB / 0.5042 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.1387, allocations: 6.922 kB / 0.5042 GB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1387, allocations: 6.75 kB / 0.5042 GB, free: 9.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.1388, allocations: 121.2 kB / 0.5043 GB, free: 9.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1388, allocations: 1.406 kB / 0.5043 GB, free: 9.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.139, allocations: 26.95 kB / 0.5043 GB, free: 9.473 MB / 366.1 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.726e-05/0.1391, allocations: 93.19 kB / 0.5044 GB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.1396, allocations: 195.4 kB / 0.5046 GB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1396, allocations: 0 / 0.5046 GB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.1397, allocations: 44.59 kB / 0.5046 GB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.14, allocations: 28.02 kB / 0.5047 GB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.1405, allocations: 277.2 kB / 0.5049 GB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.1406, allocations: 0.7157 MB / 0.5056 GB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.1407, allocations: 19.44 kB / 0.5056 GB, free: 8.105 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1407, allocations: 0 / 0.5056 GB, free: 8.105 MB / 366.1 MB Notification: Performance of Templates: time 0.003334/0.144, allocations: 1.722 MB / 0.5073 GB, free: 6.379 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] [Timeout remaining time 660] Reference file matches