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] "Error: Unknown option --generateDynamicJacobian. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 108.4 kB / 17.14 MB, free: 5.93 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.001953/0.001953, allocations: 205.3 kB / 20.11 MB, free: 2.977 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.569/1.569, allocations: 207.6 MB / 230.5 MB, free: 4 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.06903/0.06903, allocations: 14.41 MB / 296.8 MB, free: 1.871 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: 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.002161/0.002161, allocations: 75.89 kB / 418.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 52.87 MB / 471.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.004549/0.3394, allocations: 1.826 MB / 473.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000577/0.3399, allocations: 171 kB / 473.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3401, allocations: 7.875 kB / 473.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.3403, allocations: 25.03 kB / 473.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3405, allocations: 26.5 kB / 473.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.3406, allocations: 46.64 kB / 473.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3409, allocations: 120.9 kB / 473.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.3411, allocations: 45.23 kB / 473.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3412, allocations: 50.31 kB / 473.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3414, allocations: 46.11 kB / 474 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.3414, allocations: 7.594 kB / 474 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.3414, allocations: 9.281 kB / 474 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.3414, allocations: 19.64 kB / 474 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.3415, allocations: 57.48 kB / 474 MB, free: 11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3417, allocations: 114 kB / 474.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3418, allocations: 1.156 kB / 474.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3418, allocations: 0 / 474.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3418, allocations: 0 / 474.2 MB, free: 10.92 MB / 334.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.0008726/0.3426, allocations: 425.8 kB / 474.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3427, allocations: 10.88 kB / 474.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.3427, allocations: 16.84 kB / 474.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.3432, allocations: 216.2 kB / 474.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3432, allocations: 4.562 kB / 474.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.3433, allocations: 12.38 kB / 474.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.3437, allocations: 138.1 kB / 475 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3437, allocations: 0 / 475 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3438, allocations: 7.984 kB / 475 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3438, allocations: 8 kB / 475 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.3441, allocations: 67.89 kB / 475 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3452, allocations: 0.6069 MB / 475.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.3456, allocations: 104 kB / 475.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.3458, allocations: 46.62 kB / 475.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3458, allocations: 0 / 475.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3458, allocations: 30.56 kB / 475.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3458, allocations: 4 kB / 475.8 MB, free: 9.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005749/0.3464, allocations: 117.7 kB / 475.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3465, allocations: 110.8 kB / 476.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3467, allocations: 142.5 kB / 476.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3468, allocations: 29.7 kB / 476.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3469, allocations: 119.9 kB / 476.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.347, allocations: 27.75 kB / 476.4 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.347, allocations: 25.7 kB / 476.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3473, allocations: 326.8 kB / 476.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3474, allocations: 23.98 kB / 476.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3476, allocations: 62 kB / 476.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.3479, allocations: 105 kB / 476.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3479, allocations: 4 kB / 476.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003991/0.3483, allocations: 117.9 kB / 477 MB, free: 7.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3483, allocations: 8.031 kB / 477 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3483, allocations: 4 kB / 477 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3483, allocations: 0 / 477 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.3486, allocations: 27.98 kB / 477.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3486, allocations: 7.938 kB / 477.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3487, allocations: 15.94 kB / 477.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3487, allocations: 7.938 kB / 477.1 MB, free: 7.695 MB / 334.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 0.0001584/0.3489, allocations: 129.7 kB / 477.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.3489, allocations: 11.95 kB / 477.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.349, allocations: 16.3 kB / 477.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.349, allocations: 0 / 477.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.349, allocations: 0 / 477.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.349, allocations: 4 kB / 477.2 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.3493, allocations: 209.5 kB / 477.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3494, allocations: 0 / 477.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3495, allocations: 19.98 kB / 477.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3495, allocations: 0 / 477.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3495, allocations: 0 / 477.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.3496, allocations: 11.94 kB / 477.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3496, allocations: 0 / 477.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.3501, allocations: 229.1 kB / 477.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.3502, allocations: 81.12 kB / 477.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.3503, allocations: 15.98 kB / 477.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3504, allocations: 4 kB / 477.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.3505, allocations: 7.984 kB / 477.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3505, allocations: 0 / 477.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3507, allocations: 115.9 kB / 477.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3507, allocations: 0 / 477.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.3511, allocations: 19.89 kB / 477.9 MB, free: 6.738 MB / 334.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 0.0001421/0.3513, allocations: 115.2 kB / 478.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.3516, allocations: 63.84 kB / 478.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3516, allocations: 0 / 478.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.3518, allocations: 27.92 kB / 478.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.3524, allocations: 28.17 kB / 478.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.3531, allocations: 253.5 kB / 478.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3536, allocations: 0.7047 MB / 479.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.545e-05/0.3536, allocations: 12.55 kB / 479.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.3537, allocations: 11.44 kB / 479.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3537, allocations: 3.938 kB / 479.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of Templates: time 0.005268/0.359, allocations: 1.017 MB / 480.2 MB, free: 4.445 MB / 334.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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/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: 5.111208633999922]