Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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.001588/0.001588, allocations: 75.38 kB / 19.94 MB, free: 1.762 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.001815/0.001815, allocations: 169.7 kB / 23.23 MB, free: 4.875 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.384/1.384, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.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.0637/0.0637, allocations: 10.64 MB / 247.9 MB, free: 10.42 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.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 371.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.226e-05, allocations: 2.281 kB / 371.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002144/0.002166, allocations: 1.772 MB / 373.5 MB, free: 16.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.002504, allocations: 167.5 kB / 373.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.002598, allocations: 7.938 kB / 373.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.00275, allocations: 23.73 kB / 373.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.002892, allocations: 27.8 kB / 373.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.512e-05/0.002978, allocations: 47.94 kB / 373.8 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.003115, allocations: 123.6 kB / 373.9 MB, free: 16.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.003228, allocations: 41.5 kB / 373.9 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/0.003301, allocations: 63.83 kB / 374 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.003385, allocations: 35.89 kB / 374 MB, free: 16.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.003408, allocations: 8 kB / 374 MB, free: 16.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.003424, allocations: 8 kB / 374 MB, free: 16.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.003448, allocations: 23.86 kB / 374.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.003485, allocations: 31.91 kB / 374.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003607, allocations: 107.6 kB / 374.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003609, allocations: 0 / 374.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003609, allocations: 0 / 374.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.003614, allocations: 0 / 374.2 MB, free: 16.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004604/0.004075, allocations: 353.9 kB / 374.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004112, allocations: 8.031 kB / 374.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.004169, allocations: 16.84 kB / 374.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.004386, allocations: 161.5 kB / 374.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.004406, allocations: 8.562 kB / 374.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.004434, allocations: 12.31 kB / 374.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.004671, allocations: 135 kB / 374.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.004683, allocations: 4 kB / 374.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.004696, allocations: 0 / 374.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.004703, allocations: 4 kB / 374.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.004885, allocations: 67.83 kB / 375 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.005381, allocations: 0.521 MB / 375.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.005613, allocations: 103.8 kB / 375.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.546e-05/0.005698, allocations: 38.75 kB / 375.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.005717, allocations: 4 kB / 375.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.005732, allocations: 50.38 kB / 375.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.005733, allocations: 3.984 kB / 375.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.000345/0.006078, allocations: 117.5 kB / 375.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.006115, allocations: 102.8 kB / 375.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.006203, allocations: 154.4 kB / 376 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.006214, allocations: 29.7 kB / 376.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.006258, allocations: 119.9 kB / 376.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.006275, allocations: 19.75 kB / 376.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.006314, allocations: 29.7 kB / 376.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.006362, allocations: 322.8 kB / 376.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.006441, allocations: 24.23 kB / 376.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.006537, allocations: 103.9 kB / 376.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.006703, allocations: 89.08 kB / 376.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.006706, allocations: 4 kB / 376.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002223/0.006928, allocations: 121.5 kB / 376.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.006942, allocations: 7.938 kB / 376.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.006947, allocations: 4 kB / 376.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.006964, allocations: 0 / 376.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.007091, allocations: 27.97 kB / 376.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.007098, allocations: 7.938 kB / 376.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.007175, allocations: 16.05 kB / 376.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.007185, allocations: 4 kB / 377 MB, free: 13.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 6.42e-05/0.007249, allocations: 123.8 kB / 377.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.007283, allocations: 15.88 kB / 377.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.007315, allocations: 16.47 kB / 377.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007317, allocations: 0 / 377.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.007321, allocations: 0 / 377.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007324, allocations: 4 kB / 377.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.007458, allocations: 141.3 kB / 377.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007459, allocations: 3.938 kB / 377.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.007567, allocations: 27.92 kB / 377.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007569, allocations: 0 / 377.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.00758, allocations: 11.88 kB / 377.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007582, allocations: 0 / 377.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.007583, allocations: 0 / 377.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.00864, allocations: 1.242 MB / 378.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.008657, allocations: 11.98 kB / 378.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.00867, allocations: 0 / 378.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.00876, allocations: 4 kB / 378.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.008811, allocations: 11.98 kB / 378.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008816, allocations: 0 / 378.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.008874, allocations: 111.2 kB / 378.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008874, allocations: 0 / 378.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.009205, allocations: 35.83 kB / 378.7 MB, free: 11.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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 8.073e-05/0.009286, allocations: 95.34 kB / 378.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.009527, allocations: 67.83 kB / 378.9 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.009529, allocations: 0 / 378.9 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.009614, allocations: 35.92 kB / 378.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.009927, allocations: 23.42 kB / 378.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.01041, allocations: 362.7 kB / 379.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.867e-05/0.01048, allocations: 101.2 kB / 379.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.01054, allocations: 12.48 kB / 379.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01057, allocations: 16.5 kB / 379.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.01057, allocations: 0 / 379.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Templates: time 0.003713/0.01429, allocations: 1.078 MB / 380.5 MB, free: 9.344 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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.4188659973442554]