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.001602/0.001602, allocations: 104.3 kB / 20.49 MB, free: 1.316 MB / 14.72 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.001633/0.001633, allocations: 215 kB / 23.8 MB, free: 4.453 MB / 14.72 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.567/1.567, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.07109/0.07109, allocations: 14.39 MB / 301.3 MB, free: 7.23 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 67.89 kB / 425 MB, free: 36.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07754/0.07979, allocations: 52.91 MB / 478 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003235/0.08303, allocations: 1.741 MB / 479.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004053/0.08343, allocations: 155.5 kB / 479.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.831e-05/0.08353, allocations: 11.94 kB / 479.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.08367, allocations: 15.8 kB / 479.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.08383, allocations: 27.8 kB / 479.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.08394, allocations: 35.95 kB / 479.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.08413, allocations: 127.6 kB / 480.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.08428, allocations: 49.42 kB / 480.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.08435, allocations: 47.8 kB / 480.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.08447, allocations: 47.7 kB / 480.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.08449, allocations: 12 kB / 480.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.08451, allocations: 12 kB / 480.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.08454, allocations: 19.92 kB / 480.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.08459, allocations: 47.72 kB / 480.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.08479, allocations: 111.5 kB / 480.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.0848, allocations: 3.984 kB / 480.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0848, allocations: 0 / 480.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.0848, allocations: 0 / 480.4 MB, free: 12.73 MB / 350.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.0005877/0.08539, allocations: 357.7 kB / 480.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.08543, allocations: 8.031 kB / 480.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.08548, allocations: 20.84 kB / 480.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.08578, allocations: 154.9 kB / 480.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.0858, allocations: 8.375 kB / 480.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.08583, allocations: 12.36 kB / 480.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.08609, allocations: 120.3 kB / 481.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.0861, allocations: 3.984 kB / 481.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.08611, allocations: 4 kB / 481.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.08611, allocations: 8 kB / 481.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.0863, allocations: 59.91 kB / 481.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.08689, allocations: 365 kB / 481.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.08727, allocations: 115.8 kB / 481.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.08739, allocations: 42.69 kB / 481.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.0874, allocations: 11.94 kB / 481.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.08743, allocations: 34.55 kB / 481.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/0.08743, allocations: 3.984 kB / 481.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003786/0.08781, allocations: 121.5 kB / 481.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.08789, allocations: 106.8 kB / 481.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.08805, allocations: 150.4 kB / 482.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.08807, allocations: 33.64 kB / 482.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.08815, allocations: 112.2 kB / 482.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.08818, allocations: 35.73 kB / 482.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.08823, allocations: 21.72 kB / 482.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.08838, allocations: 322.8 kB / 482.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.08849, allocations: 23.98 kB / 482.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.08864, allocations: 112.5 kB / 482.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.08883, allocations: 83.38 kB / 482.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.08883, allocations: 0 / 482.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003741/0.0892, allocations: 142.3 kB / 482.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.08922, allocations: 4 kB / 482.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.08922, allocations: 0 / 482.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.08942, allocations: 36.92 kB / 483 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.08952, allocations: 16.3 kB / 483 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.09077, allocations: 1.327 MB / 484.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.09088, allocations: 15.89 kB / 484.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.0909, allocations: 4.188 kB / 484.3 MB, free: 8.398 MB / 350.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 0.0001265/0.09102, allocations: 125.9 kB / 484.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.09106, allocations: 11.89 kB / 484.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.09109, allocations: 12.41 kB / 484.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.09109, allocations: 4 kB / 484.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.0911, allocations: 3.938 kB / 484.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.0911, allocations: 0 / 484.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.09129, allocations: 149.2 kB / 484.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.09129, allocations: 144 / 484.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.09142, allocations: 15.98 kB / 484.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.09143, allocations: 7.984 kB / 484.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.09144, allocations: 0 / 484.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.09144, allocations: 4 kB / 484.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.09144, allocations: 4 kB / 484.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.09302, allocations: 1.269 MB / 485.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.09305, allocations: 19.98 kB / 486 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.09307, allocations: 0 / 486 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.09317, allocations: 8 kB / 486 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.09322, allocations: 7.984 kB / 486 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.09323, allocations: 4 kB / 486 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.459e-05/0.09333, allocations: 119.9 kB / 486.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09333, allocations: 0 / 486.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.09369, allocations: 24 kB / 486.1 MB, free: 6.469 MB / 350.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 0.0001035/0.09379, allocations: 99.19 kB / 486.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.09427, allocations: 198.5 kB / 486.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.09427, allocations: 0 / 486.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.09437, allocations: 39.86 kB / 486.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.0947, allocations: 33.3 kB / 486.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.09537, allocations: 379.9 kB / 486.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.026e-05/0.09546, allocations: 89.19 kB / 486.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.932e-05/0.09553, allocations: 12.48 kB / 487 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.09557, allocations: 15.44 kB / 487 MB, free: 5.543 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.09557, allocations: 0 / 487 MB, free: 5.543 MB / 350.1 MB Notification: Performance of Templates: time 0.004835/0.1004, allocations: 1.496 MB / 488.5 MB, free: 4.059 MB / 350.1 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 -gbnls=internal -gberr=embedded -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/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: 4.890285518951714]