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.0.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.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 117.1 kB / 17.15 MB, free: 5.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 194 kB / 20.1 MB, free: 2.984 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.627/1.627, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.06969/0.06969, allocations: 14.41 MB / 296.7 MB, free: 1.898 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 75.89 kB / 418.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.34, allocations: 52.86 MB / 471.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003817/0.3438, allocations: 1.834 MB / 473.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.3443, allocations: 171.3 kB / 473.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3444, allocations: 3.656 kB / 473.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.3446, allocations: 29.23 kB / 473.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.3447, allocations: 22.27 kB / 473.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.3449, allocations: 42.44 kB / 473.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.3451, allocations: 125.1 kB / 473.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.3453, allocations: 41.36 kB / 473.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.3453, allocations: 45.44 kB / 473.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3454, allocations: 45.16 kB / 473.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.3455, allocations: 13.39 kB / 473.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.3455, allocations: 16 kB / 473.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.3455, allocations: 23.86 kB / 473.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.3456, allocations: 49.45 kB / 474 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3458, allocations: 107.2 kB / 474.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3458, allocations: 0 / 474.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3458, allocations: 0 / 474.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3458, allocations: 3.938 kB / 474.1 MB, free: 10.93 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.0007354/0.3465, allocations: 421.3 kB / 474.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3466, allocations: 9.406 kB / 474.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.3466, allocations: 20.41 kB / 474.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.347, allocations: 222.2 kB / 474.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.347, allocations: 8.562 kB / 474.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.3471, allocations: 12.38 kB / 474.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.3474, allocations: 134.2 kB / 474.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3474, allocations: 3.938 kB / 474.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.3474, allocations: 8 kB / 474.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3474, allocations: 3.938 kB / 474.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.3476, allocations: 63.89 kB / 475 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.3485, allocations: 0.6108 MB / 475.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.3488, allocations: 103.8 kB / 475.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3489, allocations: 42.75 kB / 475.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3489, allocations: 0 / 475.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.349, allocations: 42.5 kB / 475.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.349, allocations: 0 / 475.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004099/0.3494, allocations: 117.5 kB / 475.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.3495, allocations: 102.8 kB / 476 MB, free: 8.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3497, allocations: 142.5 kB / 476.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3497, allocations: 29.7 kB / 476.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3498, allocations: 119.9 kB / 476.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3498, allocations: 27.75 kB / 476.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.3499, allocations: 37.89 kB / 476.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3501, allocations: 322.8 kB / 476.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.3502, allocations: 19.98 kB / 476.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3503, allocations: 65.94 kB / 476.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3505, allocations: 113.3 kB / 476.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3505, allocations: 0 / 476.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002666/0.3508, allocations: 121.5 kB / 477 MB, free: 7.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3508, allocations: 8 kB / 477 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3508, allocations: 0 / 477 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3508, allocations: 0 / 477 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.351, allocations: 27.92 kB / 477 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.351, allocations: 7.984 kB / 477 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.3511, allocations: 11.89 kB / 477 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3511, allocations: 8.156 kB / 477 MB, free: 7.727 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.0001264/0.3512, allocations: 125.8 kB / 477.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.3512, allocations: 7.953 kB / 477.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.3513, allocations: 20.3 kB / 477.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3513, allocations: 0 / 477.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3513, allocations: 0 / 477.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3513, allocations: 4 kB / 477.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.3515, allocations: 209.5 kB / 477.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3516, allocations: 4 kB / 477.4 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3517, allocations: 23.92 kB / 477.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3517, allocations: 0 / 477.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3517, allocations: 0 / 477.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3517, allocations: 4 kB / 477.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3517, allocations: 0 / 477.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.3521, allocations: 233.1 kB / 477.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.3522, allocations: 85.09 kB / 477.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3522, allocations: 3.984 kB / 477.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.3523, allocations: 4 kB / 477.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.3523, allocations: 15.98 kB / 477.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3524, allocations: 4 kB / 477.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.272e-05/0.3524, allocations: 111.9 kB / 477.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3524, allocations: 4.062 kB / 477.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.3527, allocations: 19.95 kB / 477.9 MB, free: 6.766 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.0001152/0.3528, allocations: 103.2 kB / 478 MB, free: 6.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.3531, allocations: 63.84 kB / 478.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3531, allocations: 0 / 478.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.3532, allocations: 32.36 kB / 478.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3535, allocations: 35.84 kB / 478.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.3541, allocations: 249.1 kB / 478.4 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.3545, allocations: 0.7047 MB / 479.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.3546, allocations: 12.55 kB / 479.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.3546, allocations: 11.44 kB / 479.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3546, allocations: 0 / 479.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of Templates: time 0.004255/0.3589, allocations: 1.011 MB / 480.1 MB, free: 4.484 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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.261579924728721]