Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.00108/0.00108, allocations: 100.2 kB / 20.44 MB, free: 4.129 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.001073/0.001073, allocations: 173 kB / 23.81 MB, free: 0.7656 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.121/1.121, allocations: 158.6 MB / 185.7 MB, free: 2.895 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.03926/0.03926, allocations: 10.65 MB / 248.7 MB, free: 4.457 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 320.2 MB, free: 39.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.953e-05/4.193e-05, allocations: 3.406 kB / 320.3 MB, free: 39.58 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003404/0.003446, allocations: 1.819 MB / 322.1 MB, free: 37.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005126/0.003959, allocations: 155.5 kB / 322.2 MB, free: 37.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.004105, allocations: 3.938 kB / 322.2 MB, free: 37.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.004302, allocations: 19.8 kB / 322.2 MB, free: 37.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.004532, allocations: 39.72 kB / 322.3 MB, free: 37.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.00464, allocations: 31.95 kB / 322.3 MB, free: 37.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.004847, allocations: 135.6 kB / 322.4 MB, free: 37.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.005023, allocations: 30.86 kB / 322.5 MB, free: 37.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.005136, allocations: 75.8 kB / 322.6 MB, free: 37.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.005245, allocations: 31.91 kB / 322.6 MB, free: 37.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.005275, allocations: 8 kB / 322.6 MB, free: 37.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.06e-05/0.005296, allocations: 12 kB / 322.6 MB, free: 37.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.005328, allocations: 31.84 kB / 322.6 MB, free: 37.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.005372, allocations: 23.92 kB / 322.7 MB, free: 37.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.005535, allocations: 87.61 kB / 322.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005537, allocations: 0 / 322.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005538, allocations: 0 / 322.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.005544, allocations: 0 / 322.7 MB, free: 37.08 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.0005709/0.006115, allocations: 450.5 kB / 323.2 MB, free: 36.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.006161, allocations: 8.031 kB / 323.2 MB, free: 36.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.006227, allocations: 24.84 kB / 323.2 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.006454, allocations: 164.9 kB / 323.4 MB, free: 36.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.006471, allocations: 8.375 kB / 323.4 MB, free: 36.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.00651, allocations: 12.38 kB / 323.4 MB, free: 36.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.006732, allocations: 122.4 kB / 323.5 MB, free: 36.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.006741, allocations: 192 / 323.5 MB, free: 36.22 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.006758, allocations: 8.125 kB / 323.5 MB, free: 36.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.006769, allocations: 4 kB / 323.5 MB, free: 36.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.006851, allocations: 19.98 kB / 323.5 MB, free: 36.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.007463, allocations: 433.6 kB / 324 MB, free: 35.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.007802, allocations: 125.2 kB / 324.1 MB, free: 35.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.007856, allocations: 43.17 kB / 324.1 MB, free: 35.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.007877, allocations: 0 / 324.1 MB, free: 35.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.007902, allocations: 37.39 kB / 324.2 MB, free: 35.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.007903, allocations: 0 / 324.2 MB, free: 35.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000265/0.008168, allocations: 89.5 kB / 324.3 MB, free: 35.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.008203, allocations: 111.1 kB / 324.4 MB, free: 35.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.008333, allocations: 209.8 kB / 324.6 MB, free: 35.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.008346, allocations: 25.7 kB / 324.6 MB, free: 34.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.008414, allocations: 162.7 kB / 324.8 MB, free: 34.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.008438, allocations: 27.73 kB / 324.8 MB, free: 34.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.008484, allocations: 27.38 kB / 324.8 MB, free: 34.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.008568, allocations: 0.4923 MB / 325.3 MB, free: 34.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.008606, allocations: 8 kB / 325.3 MB, free: 34.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.008681, allocations: 118.3 kB / 325.4 MB, free: 34.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.939e-05/0.00877, allocations: 66.7 kB / 325.5 MB, free: 34.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008773, allocations: 0 / 325.5 MB, free: 34.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002615/0.009034, allocations: 117.4 kB / 325.6 MB, free: 33.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.009053, allocations: 5.875 kB / 325.6 MB, free: 33.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.009059, allocations: 0 / 325.6 MB, free: 33.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/0.009339, allocations: 47.72 kB / 325.7 MB, free: 33.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.009417, allocations: 15.92 kB / 325.7 MB, free: 33.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006811/0.0101, allocations: 1.775 MB / 327.4 MB, free: 31.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.01015, allocations: 11.89 kB / 327.5 MB, free: 31.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.01015, allocations: 8 kB / 327.5 MB, free: 31.89 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.21e-05/0.01021, allocations: 164.5 kB / 327.6 MB, free: 31.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.01023, allocations: 15.95 kB / 327.6 MB, free: 31.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.237e-05/0.01024, allocations: 12.45 kB / 327.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01024, allocations: 4 kB / 327.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.01025, allocations: 0 / 327.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01025, allocations: 0 / 327.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.38e-05/0.01034, allocations: 152.5 kB / 327.8 MB, free: 31.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.01034, allocations: 0 / 327.8 MB, free: 31.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.0104, allocations: 15.98 kB / 327.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.0104, allocations: 4 kB / 327.8 MB, free: 31.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01041, allocations: 4 kB / 327.8 MB, free: 31.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01041, allocations: 3.938 kB / 327.8 MB, free: 31.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01041, allocations: 3.984 kB / 327.8 MB, free: 31.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.011, allocations: 1.566 MB / 329.4 MB, free: 29.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.01101, allocations: 11.91 kB / 329.4 MB, free: 29.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.01102, allocations: 4.062 kB / 329.4 MB, free: 29.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.01107, allocations: 7.938 kB / 329.4 MB, free: 29.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.0111, allocations: 7.984 kB / 329.4 MB, free: 29.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.01111, allocations: 7.938 kB / 329.4 MB, free: 29.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.01115, allocations: 157 kB / 329.6 MB, free: 29.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.01115, allocations: 0 / 329.6 MB, free: 29.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000206/0.01136, allocations: 20 kB / 329.6 MB, free: 29.57 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 6.508e-05/0.01142, allocations: 99.19 kB / 329.7 MB, free: 29.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.0117, allocations: 241.5 kB / 330 MB, free: 29.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0117, allocations: 0 / 330 MB, free: 29.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.01173, allocations: 31.61 kB / 330 MB, free: 29.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01194, allocations: 24.2 kB / 330 MB, free: 29.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.01231, allocations: 439.2 kB / 330.4 MB, free: 28.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.01233, allocations: 67.52 kB / 330.5 MB, free: 28.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.419e-05/0.01237, allocations: 8.5 kB / 330.5 MB, free: 28.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.0124, allocations: 16.5 kB / 330.5 MB, free: 28.55 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0124, allocations: 0 / 330.5 MB, free: 28.55 MB / 282.7 MB Notification: Performance of Templates: time 0.002997/0.0154, allocations: 1.466 MB / 332 MB, free: 27.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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: 3.302950019016862]