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.0009708/0.0009708, allocations: 96.2 kB / 20.44 MB, free: 4.133 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.001158/0.001158, allocations: 165 kB / 23.81 MB, free: 0.7617 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 0.9286/0.9286, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.03785/0.03785, allocations: 10.66 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 1.844e-06/1.844e-06, allocations: 0 / 320.3 MB, free: 39.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.123e-05, allocations: 2.312 kB / 320.3 MB, free: 39.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002484/0.002505, allocations: 1.806 MB / 322.1 MB, free: 37.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.002847, allocations: 155.5 kB / 322.2 MB, free: 37.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.002947, allocations: 7.938 kB / 322.2 MB, free: 37.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.003078, allocations: 15.8 kB / 322.2 MB, free: 37.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.003247, allocations: 35.72 kB / 322.3 MB, free: 37.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.115e-05/0.003328, allocations: 39.95 kB / 322.3 MB, free: 37.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.003476, allocations: 131.6 kB / 322.4 MB, free: 37.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.0036, allocations: 34.84 kB / 322.5 MB, free: 37.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.003682, allocations: 67.81 kB / 322.5 MB, free: 37.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.003768, allocations: 39.88 kB / 322.6 MB, free: 37.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.003797, allocations: 12 kB / 322.6 MB, free: 37.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.003813, allocations: 8 kB / 322.6 MB, free: 37.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.003839, allocations: 27.86 kB / 322.6 MB, free: 37.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.003876, allocations: 35.91 kB / 322.7 MB, free: 37.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.004002, allocations: 71.62 kB / 322.7 MB, free: 37.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004004, allocations: 4 kB / 322.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004005, allocations: 0 / 322.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.00401, 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.0004109/0.004421, allocations: 454.5 kB / 323.2 MB, free: 36.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.004451, allocations: 8.031 kB / 323.2 MB, free: 36.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.004497, allocations: 24.84 kB / 323.2 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004635, allocations: 156.9 kB / 323.4 MB, free: 36.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.004644, allocations: 8.375 kB / 323.4 MB, free: 36.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.004666, allocations: 12.38 kB / 323.4 MB, free: 36.37 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.004797, allocations: 118.5 kB / 323.5 MB, free: 36.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.004803, allocations: 4.125 kB / 323.5 MB, free: 36.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004814, allocations: 12.12 kB / 323.5 MB, free: 36.22 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.00482, allocations: 0 / 323.5 MB, free: 36.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.004868, allocations: 27.98 kB / 323.5 MB, free: 36.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.005236, allocations: 425.6 kB / 324 MB, free: 35.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.005439, allocations: 129.3 kB / 324.1 MB, free: 35.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.005474, allocations: 43.06 kB / 324.1 MB, free: 35.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.005487, allocations: 0 / 324.1 MB, free: 35.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.005501, allocations: 41.38 kB / 324.2 MB, free: 35.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.005502, allocations: 3.938 kB / 324.2 MB, free: 35.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001655/0.005667, allocations: 81.58 kB / 324.3 MB, free: 35.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.00569, allocations: 110.8 kB / 324.4 MB, free: 35.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.005767, allocations: 210.1 kB / 324.6 MB, free: 35.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.005776, allocations: 25.7 kB / 324.6 MB, free: 34.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.005821, allocations: 162.7 kB / 324.8 MB, free: 34.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.005836, allocations: 35.72 kB / 324.8 MB, free: 34.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.005864, allocations: 23.38 kB / 324.8 MB, free: 34.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.005911, allocations: 0.4962 MB / 325.3 MB, free: 34.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.00593, allocations: 8 kB / 325.3 MB, free: 34.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.005974, allocations: 114.9 kB / 325.4 MB, free: 34.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.006026, allocations: 70.7 kB / 325.5 MB, free: 34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006029, allocations: 0 / 325.5 MB, free: 34 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000177/0.006206, allocations: 113.1 kB / 325.6 MB, free: 33.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.006218, allocations: 5.875 kB / 325.6 MB, free: 33.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006222, allocations: 4 kB / 325.6 MB, free: 33.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.0064, allocations: 39.73 kB / 325.7 MB, free: 33.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.006448, allocations: 15.98 kB / 325.7 MB, free: 33.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005187/0.006966, allocations: 1.775 MB / 327.4 MB, free: 31.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.007008, allocations: 16.2 kB / 327.5 MB, free: 31.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.007015, allocations: 1.016 kB / 327.5 MB, free: 31.9 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.2e-05/0.007067, allocations: 172.5 kB / 327.6 MB, free: 31.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.007087, allocations: 11.95 kB / 327.6 MB, free: 31.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.007099, allocations: 16.45 kB / 327.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.0071, allocations: 4 kB / 327.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.007101, allocations: 0 / 327.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007104, allocations: 4 kB / 327.7 MB, free: 31.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.565e-05/0.007189, allocations: 152.5 kB / 327.8 MB, free: 31.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00719, allocations: 0 / 327.8 MB, free: 31.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.007238, allocations: 12 kB / 327.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.007241, allocations: 4 kB / 327.8 MB, free: 31.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.00725, allocations: 7.984 kB / 327.8 MB, free: 31.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007251, allocations: 0 / 327.8 MB, free: 31.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.007252, allocations: 3.938 kB / 327.8 MB, free: 31.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.007775, allocations: 1.562 MB / 329.4 MB, free: 29.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.007784, allocations: 11.91 kB / 329.4 MB, free: 29.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-06/0.007791, allocations: 3.938 kB / 329.4 MB, free: 29.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.507e-05/0.007836, allocations: 16 kB / 329.4 MB, free: 29.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.007868, allocations: 7.984 kB / 329.4 MB, free: 29.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007871, allocations: 0 / 329.4 MB, free: 29.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.00791, allocations: 157 kB / 329.6 MB, free: 29.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00791, allocations: 0 / 329.6 MB, free: 29.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.008126, 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 5.04e-05/0.008176, allocations: 99.19 kB / 329.7 MB, free: 29.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.008402, allocations: 241.5 kB / 330 MB, free: 29.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008404, allocations: 8 kB / 330 MB, free: 29.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.00843, allocations: 27.62 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.0002106/0.008641, allocations: 31.25 kB / 330 MB, free: 29.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.009035, allocations: 427.2 kB / 330.4 MB, free: 28.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.009075, allocations: 67.33 kB / 330.5 MB, free: 28.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.009129, allocations: 12.62 kB / 330.5 MB, free: 28.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.009167, allocations: 16.48 kB / 330.5 MB, free: 28.55 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009167, allocations: 0 / 330.5 MB, free: 28.55 MB / 282.7 MB Notification: Performance of Templates: time 0.003311/0.01248, allocations: 1.521 MB / 332 MB, free: 27.06 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: 2.734167282935232]