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.001472/0.001472, allocations: 71.77 kB / 20.73 MB, free: 3.754 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.001704/0.001704, allocations: 173 kB / 24.15 MB, free: 340 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.917/0.917, allocations: 158.6 MB / 186 MB, free: 2.75 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.04171/0.04171, allocations: 10.65 MB / 249 MB, free: 4.348 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.422e-06/1.422e-06, allocations: 0 / 271.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.312e-05, allocations: 2.312 kB / 271.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002471/0.002495, allocations: 1.857 MB / 273.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003317/0.002826, allocations: 167.4 kB / 273.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.002909, allocations: 0 / 273.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.00303, allocations: 23.73 kB / 273.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.003159, allocations: 27.8 kB / 273.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.368e-05/0.003233, allocations: 35.95 kB / 273.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.003363, allocations: 135.5 kB / 274 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003465, allocations: 38.12 kB / 274 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.003539, allocations: 71.86 kB / 274.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.003618, allocations: 35.84 kB / 274.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.003636, allocations: 8 kB / 274.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.003649, allocations: 12 kB / 274.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.003671, allocations: 19.91 kB / 274.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.003698, allocations: 39.86 kB / 274.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003805, allocations: 67.73 kB / 274.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003807, allocations: 4 kB / 274.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003808, allocations: 0 / 274.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003812, allocations: 3.938 kB / 274.3 MB, free: 11.04 MB / 266.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.0003559/0.004168, allocations: 328.3 kB / 274.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.004197, allocations: 16.02 kB / 274.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.00423, allocations: 12.94 kB / 274.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.004382, allocations: 146.2 kB / 274.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004393, allocations: 8.375 kB / 274.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.004416, allocations: 20.3 kB / 274.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.004542, allocations: 109.4 kB / 274.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004549, allocations: 192 / 274.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.004559, allocations: 8.125 kB / 274.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.004564, allocations: 4 kB / 274.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.0046, allocations: 23.92 kB / 274.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.004932, allocations: 280.9 kB / 275.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.005106, allocations: 91.64 kB / 275.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.005135, allocations: 30.69 kB / 275.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.005148, allocations: 4 kB / 275.3 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.005166, allocations: 30.56 kB / 275.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.005168, allocations: 0 / 275.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001285/0.005296, allocations: 81.64 kB / 275.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.005331, allocations: 106.8 kB / 275.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.005403, allocations: 146.6 kB / 275.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.005416, allocations: 33.7 kB / 275.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.005459, allocations: 107.9 kB / 275.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.005472, allocations: 23.8 kB / 275.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.005504, allocations: 29.69 kB / 275.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.005583, allocations: 322.8 kB / 276.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.005596, allocations: 4 kB / 276.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.005645, allocations: 96.5 kB / 276.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.005706, allocations: 55.52 kB / 276.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005708, allocations: 0 / 276.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001289/0.005837, allocations: 86.45 kB / 276.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.005848, allocations: 4 kB / 276.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005852, allocations: 3.938 kB / 276.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.006, allocations: 48.84 kB / 276.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.006043, allocations: 11.98 kB / 276.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006327/0.006676, allocations: 1.214 MB / 277.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.006715, allocations: 15.92 kB / 277.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.006723, allocations: 8 kB / 277.7 MB, free: 7.23 MB / 266.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.517e-05/0.006778, allocations: 109.8 kB / 277.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.006801, allocations: 15.92 kB / 277.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.006815, allocations: 12.47 kB / 277.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006817, allocations: 0 / 277.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006818, allocations: 320 / 277.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.006821, allocations: 4 kB / 277.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.344e-05/0.006914, allocations: 97.84 kB / 278 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006916, allocations: 4 kB / 278 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.006964, allocations: 19.92 kB / 278 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.006967, allocations: 7.938 kB / 278 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.006974, allocations: 0 / 278 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006975, allocations: 0 / 278 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.006977, allocations: 4 kB / 278 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.007542, allocations: 1.062 MB / 279.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.007552, allocations: 11.94 kB / 279.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.007561, allocations: 4 kB / 279.1 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.00761, allocations: 4 kB / 279.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.007638, allocations: 3.984 kB / 279.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.007642, allocations: 4 kB / 279.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.692e-05/0.007669, allocations: 33.58 kB / 279.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.007669, allocations: 0 / 279.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.007885, allocations: 27.94 kB / 279.1 MB, free: 5.684 MB / 266.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.701e-05/0.007952, allocations: 88.28 kB / 279.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.00816, allocations: 183.3 kB / 279.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.008163, allocations: 0 / 279.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.008186, allocations: 20.84 kB / 279.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.008339, allocations: 19.98 kB / 279.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.008708, allocations: 373.4 kB / 279.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.36e-05/0.008742, allocations: 67.34 kB / 279.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.093e-05/0.008782, allocations: 16.48 kB / 279.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.008872, allocations: 63.38 kB / 280 MB, free: 4.773 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008873, allocations: 0 / 280 MB, free: 4.773 MB / 266.7 MB Notification: Performance of Templates: time 0.002987/0.01186, allocations: 1.517 MB / 281.5 MB, free: 3.254 MB / 266.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 -s gbode -gbm=radauIIA3 -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.646747683174908]