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.004675/0.004675, allocations: 71.77 kB / 20.73 MB, free: 3.758 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.004768/0.004768, allocations: 173 kB / 24.15 MB, free: 344 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 1.05/1.05, 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.04464/0.04464, allocations: 10.66 MB / 249 MB, free: 4.355 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.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.513e-06/1.513e-06, allocations: 0 / 271.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.662e-05, allocations: 2.312 kB / 271.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002921/0.002948, allocations: 1.814 MB / 273.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004344/0.003382, allocations: 179.3 kB / 273.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.0035, allocations: 7.938 kB / 273.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.003658, allocations: 23.78 kB / 273.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.003801, allocations: 23.75 kB / 273.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.338e-05/0.003894, allocations: 43.94 kB / 273.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.004038, allocations: 123.6 kB / 273.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.004168, allocations: 46.09 kB / 273.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.004253, allocations: 67.83 kB / 274 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.004345, allocations: 31.89 kB / 274 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.00437, allocations: 8 kB / 274 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.004384, allocations: 12 kB / 274.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.004411, allocations: 19.86 kB / 274.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.004444, allocations: 31.91 kB / 274.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.004594, allocations: 71.69 kB / 274.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004597, allocations: 0 / 274.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004598, allocations: 0 / 274.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.004602, allocations: 0 / 274.2 MB, free: 11.14 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004807/0.005083, allocations: 336.5 kB / 274.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.005129, allocations: 8.031 kB / 274.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.005171, allocations: 12.92 kB / 274.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.005362, allocations: 153.5 kB / 274.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.005383, allocations: 8.562 kB / 274.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.005415, allocations: 12.38 kB / 274.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.005642, allocations: 127.6 kB / 274.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.005651, allocations: 0 / 274.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.005664, allocations: 11.98 kB / 274.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.00567, allocations: 4 kB / 274.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.00572, allocations: 27.88 kB / 274.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.006163, allocations: 445.3 kB / 275.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.006313, allocations: 87.62 kB / 275.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.006556, allocations: 22.7 kB / 275.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.006573, allocations: 8 kB / 275.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.006598, allocations: 34.69 kB / 275.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.006599, allocations: 4 kB / 275.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001412/0.00674, allocations: 69.67 kB / 275.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.006786, allocations: 110.8 kB / 275.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.006876, allocations: 150.5 kB / 275.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.006889, allocations: 29.64 kB / 275.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.006942, allocations: 115.9 kB / 275.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.006965, allocations: 35.97 kB / 276 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.007002, allocations: 29.7 kB / 276 MB, free: 9.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.007092, allocations: 322.8 kB / 276.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.007109, allocations: 8 kB / 276.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.007173, allocations: 118.2 kB / 276.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.007237, allocations: 69.06 kB / 276.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.00724, allocations: 0 / 276.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.763e-05/0.007328, allocations: 81.58 kB / 276.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.00734, allocations: 4 kB / 276.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.007345, allocations: 0 / 276.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.00736, allocations: 7.938 kB / 276.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.007443, allocations: 23.92 kB / 276.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.007459, allocations: 4 kB / 276.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.007499, allocations: 11.94 kB / 276.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.007508, allocations: 8.156 kB / 276.6 MB, free: 8.402 MB / 266.7 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 7.899e-05/0.007587, allocations: 113.8 kB / 276.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.007606, allocations: 4 kB / 276.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.007631, allocations: 20.45 kB / 276.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.007634, allocations: 3.938 kB / 276.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.007639, allocations: 4 kB / 276.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007643, allocations: 0 / 276.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.007766, allocations: 93.78 kB / 276.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.007769, allocations: 4 kB / 276.9 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.007827, allocations: 11.94 kB / 276.9 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.00783, allocations: 8 kB / 276.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.007842, allocations: 7.984 kB / 276.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.007844, allocations: 0 / 276.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.007847, allocations: 11.92 kB / 276.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.008574, allocations: 1.043 MB / 277.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.008586, allocations: 19.91 kB / 278 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-06/0.008595, allocations: 3.938 kB / 278 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.008637, allocations: 8.062 kB / 278 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.00867, allocations: 7.984 kB / 278 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.008675, allocations: 4 kB / 278 MB, free: 6.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.772e-05/0.008703, allocations: 33.5 kB / 278 MB, free: 6.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.008703, allocations: 0 / 278 MB, free: 6.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.008915, allocations: 27.94 kB / 278 MB, free: 6.855 MB / 266.7 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 0.0001061/0.009021, allocations: 80.34 kB / 278.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.009128, allocations: 41.03 kB / 278.2 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.009133, allocations: 4.062 kB / 278.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.009158, allocations: 20.8 kB / 278.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.009349, allocations: 27.92 kB / 278.2 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.009775, allocations: 357.3 kB / 278.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.009814, allocations: 71.12 kB / 278.6 MB, free: 6.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.009853, allocations: 12.61 kB / 278.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.009911, allocations: 63.38 kB / 278.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009912, allocations: 0 / 278.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of Templates: time 0.002907/0.01282, allocations: 1.178 MB / 279.9 MB, free: 4.926 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_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: 3.0892418581061065]