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.001877/0.001877, allocations: 115.7 kB / 17.86 MB, free: 5.254 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.002274/0.002274, allocations: 197.7 kB / 20.81 MB, free: 2.312 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.925/1.925, allocations: 207.6 MB / 231.2 MB, free: 4.207 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.06911/0.06911, allocations: 14.41 MB / 297.5 MB, free: 2 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.002554/0.002554, allocations: 72.45 kB / 419.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3425, allocations: 52.87 MB / 472.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003552/0.346, allocations: 1.826 MB / 474.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.3465, allocations: 166.3 kB / 474.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3466, allocations: 12 kB / 474.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.3467, allocations: 25.23 kB / 474.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.3469, allocations: 26.53 kB / 474.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.347, allocations: 42.52 kB / 474.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3472, allocations: 121.4 kB / 474.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3474, allocations: 40.92 kB / 474.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.3475, allocations: 45.97 kB / 474.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3476, allocations: 58.36 kB / 474.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3476, allocations: 7.938 kB / 474.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.3476, allocations: 13.06 kB / 474.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.3477, allocations: 22.39 kB / 474.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3477, allocations: 50.2 kB / 474.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3479, allocations: 111.2 kB / 474.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3479, allocations: 0 / 474.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3479, allocations: 0 / 474.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.348, allocations: 1.125 kB / 474.9 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.0006588/0.3486, allocations: 422.6 kB / 475.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3487, allocations: 12.03 kB / 475.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.3487, allocations: 16.84 kB / 475.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.3491, allocations: 216.1 kB / 475.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.3491, allocations: 8.562 kB / 475.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.3491, allocations: 12.38 kB / 475.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3494, allocations: 134.2 kB / 475.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3494, allocations: 3.938 kB / 475.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.3495, allocations: 15.92 kB / 475.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3495, allocations: 0 / 475.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.3497, allocations: 63.89 kB / 475.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.3505, allocations: 0.6069 MB / 476.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3508, allocations: 103.8 kB / 476.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3509, allocations: 42.81 kB / 476.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3509, allocations: 0 / 476.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.351, allocations: 42.5 kB / 476.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.351, allocations: 0 / 476.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004062/0.3514, allocations: 121.7 kB / 476.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.3514, allocations: 102.8 kB / 476.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3516, allocations: 146.5 kB / 476.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3516, allocations: 25.7 kB / 476.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.3517, allocations: 123.9 kB / 477 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.3517, allocations: 24 kB / 477.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.3518, allocations: 33.7 kB / 477.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.352, allocations: 326.8 kB / 477.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.3521, allocations: 19.98 kB / 477.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3522, allocations: 66 kB / 477.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.3524, allocations: 105 kB / 477.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3524, allocations: 0 / 477.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000278/0.3527, allocations: 121.5 kB / 477.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3527, allocations: 8 kB / 477.7 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3527, allocations: 0 / 477.7 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3527, allocations: 4 kB / 477.7 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3529, allocations: 27.86 kB / 477.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3529, allocations: 7.984 kB / 477.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.353, allocations: 12.11 kB / 477.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.353, allocations: 7.938 kB / 477.8 MB, free: 7.684 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.000109/0.3531, allocations: 125.8 kB / 477.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.3531, allocations: 7.953 kB / 477.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.3532, allocations: 20.3 kB / 477.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3532, allocations: 0 / 477.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3532, allocations: 4 kB / 477.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3532, allocations: 0 / 477.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.3534, allocations: 209.5 kB / 478.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3534, allocations: 3.938 kB / 478.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3535, allocations: 23.98 kB / 478.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3535, allocations: 0 / 478.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3536, allocations: 4 kB / 478.2 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3536, allocations: 128 / 478.2 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3536, allocations: 7.984 kB / 478.2 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.354, allocations: 233 kB / 478.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.3541, allocations: 89.08 kB / 478.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3541, allocations: 0 / 478.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.3542, allocations: 4 kB / 478.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.3542, allocations: 11.98 kB / 478.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3542, allocations: 0 / 478.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.926e-05/0.3543, allocations: 111.9 kB / 478.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3543, allocations: 4.062 kB / 478.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3546, allocations: 23.95 kB / 478.7 MB, free: 6.719 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.0001225/0.3547, allocations: 103.2 kB / 478.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.355, allocations: 67.78 kB / 478.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.355, allocations: 0 / 478.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3551, allocations: 36.36 kB / 478.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3554, allocations: 31.17 kB / 478.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.356, allocations: 241.1 kB / 479.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3564, allocations: 0.7126 MB / 479.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.3564, allocations: 8.547 kB / 479.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.3565, allocations: 19.38 kB / 479.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3565, allocations: 0 / 479.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of Templates: time 0.004546/0.361, allocations: 1.011 MB / 480.9 MB, free: 4.434 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.487955479999073]