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.000913/0.000913, allocations: 88.38 kB / 20.98 MB, free: 3.461 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.0008486/0.0008486, allocations: 161.3 kB / 24.28 MB, free: 152 kB / 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 0.8827/0.8827, allocations: 158.6 MB / 186.1 MB, free: 2.906 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.04038/0.04038, allocations: 10.64 MB / 249 MB, free: 4.551 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 1.814e-06/1.814e-06, allocations: 0 / 320.2 MB, free: 40 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.913e-05, allocations: 2.312 kB / 320.2 MB, free: 40 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002833/0.002863, allocations: 1.771 MB / 322 MB, free: 38.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003812/0.003244, allocations: 143.5 kB / 322.1 MB, free: 38.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.003396, allocations: 7.938 kB / 322.1 MB, free: 38.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.003568, allocations: 19.73 kB / 322.2 MB, free: 38.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.003781, allocations: 39.77 kB / 322.2 MB, free: 38.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.613e-05/0.003877, allocations: 31.91 kB / 322.2 MB, free: 37.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.004041, allocations: 135.6 kB / 322.4 MB, free: 37.85 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.004187, allocations: 38.83 kB / 322.4 MB, free: 37.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.004272, allocations: 63.83 kB / 322.5 MB, free: 37.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.004371, allocations: 39.88 kB / 322.5 MB, free: 37.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.004403, allocations: 12 kB / 322.5 MB, free: 37.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.004418, allocations: 8 kB / 322.5 MB, free: 37.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.004445, allocations: 23.92 kB / 322.5 MB, free: 37.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.004487, allocations: 31.84 kB / 322.6 MB, free: 37.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004643, allocations: 119.5 kB / 322.7 MB, free: 37.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004646, allocations: 0 / 322.7 MB, free: 37.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.004648, allocations: 0 / 322.7 MB, free: 37.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.004654, allocations: 0 / 322.7 MB, free: 37.52 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.0005142/0.005168, allocations: 352 kB / 323 MB, free: 37.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.005203, allocations: 8.031 kB / 323 MB, free: 37.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.005254, allocations: 28.83 kB / 323.1 MB, free: 37.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.005468, allocations: 166.1 kB / 323.2 MB, free: 36.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.005478, allocations: 8.375 kB / 323.2 MB, free: 36.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.005509, allocations: 8.375 kB / 323.2 MB, free: 36.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.005669, allocations: 116.8 kB / 323.4 MB, free: 36.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005677, allocations: 192 / 323.4 MB, free: 36.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.00569, allocations: 12.06 kB / 323.4 MB, free: 36.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.005695, allocations: 4 kB / 323.4 MB, free: 36.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.975e-05/0.005795, allocations: 59.95 kB / 323.4 MB, free: 36.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.006222, allocations: 368.8 kB / 323.8 MB, free: 36.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.006482, allocations: 119.8 kB / 323.9 MB, free: 36.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.006543, allocations: 58.55 kB / 324 MB, free: 36.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.006557, allocations: 0 / 324 MB, free: 36.1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.00657, allocations: 34.56 kB / 324 MB, free: 36.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.006571, allocations: 0 / 324 MB, free: 36.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.006834, allocations: 121.5 kB / 324.1 MB, free: 35.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.006865, allocations: 110.7 kB / 324.2 MB, free: 35.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.006965, allocations: 154.4 kB / 324.4 MB, free: 35.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.006976, allocations: 29.7 kB / 324.4 MB, free: 35.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.007028, allocations: 112 kB / 324.5 MB, free: 35.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.007045, allocations: 31.77 kB / 324.5 MB, free: 35.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.007078, allocations: 25.67 kB / 324.6 MB, free: 35.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.007126, allocations: 318.8 kB / 324.9 MB, free: 35.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.007176, allocations: 32.23 kB / 324.9 MB, free: 35.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.007256, allocations: 113.3 kB / 325 MB, free: 34.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.007359, allocations: 75.36 kB / 325.1 MB, free: 34.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.007362, allocations: 3.938 kB / 325.1 MB, free: 34.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002489/0.007611, allocations: 146.3 kB / 325.2 MB, free: 34.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.007629, allocations: 7.984 kB / 325.3 MB, free: 34.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.007637, allocations: 4 kB / 325.3 MB, free: 34.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.00786, allocations: 40.83 kB / 325.3 MB, free: 34.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.007927, allocations: 16.08 kB / 325.3 MB, free: 34.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006405/0.008567, allocations: 1.324 MB / 326.6 MB, free: 33.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.008625, allocations: 11.95 kB / 326.7 MB, free: 33.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.008634, allocations: 144 / 326.7 MB, free: 33.18 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 6.842e-05/0.008702, allocations: 137.6 kB / 326.8 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.008728, allocations: 15.94 kB / 326.8 MB, free: 33.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.008742, allocations: 16.53 kB / 326.8 MB, free: 33.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.008744, allocations: 4 kB / 326.8 MB, free: 33.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.008746, allocations: 0 / 326.8 MB, free: 33.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.00875, allocations: 0 / 326.8 MB, free: 33.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.008866, allocations: 141.2 kB / 327 MB, free: 32.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.008868, allocations: 4 kB / 327 MB, free: 32.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.008927, allocations: 15.98 kB / 327 MB, free: 32.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.008928, allocations: 0 / 327 MB, free: 32.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.008938, allocations: 4 kB / 327 MB, free: 32.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.00894, allocations: 4 kB / 327 MB, free: 32.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008941, allocations: 0 / 327 MB, free: 32.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.009665, allocations: 1.277 MB / 328.3 MB, free: 31.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.009676, allocations: 15.88 kB / 328.3 MB, free: 31.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.009685, allocations: 4 kB / 328.3 MB, free: 31.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.009736, allocations: 16.03 kB / 328.3 MB, free: 31.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.009776, allocations: 7.984 kB / 328.3 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.009781, allocations: 0 / 328.3 MB, free: 31.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.51e-05/0.009836, allocations: 121.1 kB / 328.4 MB, free: 31.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009836, allocations: 4 kB / 328.4 MB, free: 31.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01007, allocations: 20 kB / 328.4 MB, free: 31.24 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.663e-05/0.01014, allocations: 96.23 kB / 328.5 MB, free: 31.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.01049, allocations: 198.6 kB / 328.7 MB, free: 30.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01049, allocations: 0 / 328.7 MB, free: 30.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.01054, allocations: 35.92 kB / 328.8 MB, free: 30.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.0108, allocations: 25.92 kB / 328.8 MB, free: 30.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.01122, allocations: 384.5 kB / 329.2 MB, free: 30.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.01126, allocations: 93.44 kB / 329.3 MB, free: 30.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.01132, allocations: 20.52 kB / 329.3 MB, free: 30.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.01135, allocations: 12.5 kB / 329.3 MB, free: 30.31 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01135, allocations: 0 / 329.3 MB, free: 30.31 MB / 282.7 MB Notification: Performance of Templates: time 0.00327/0.01462, allocations: 1.447 MB / 330.7 MB, free: 28.89 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=480 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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: 2.9415011797100306]