Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.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.001844/0.001844, allocations: 109.3 kB / 17.14 MB, free: 5.91 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.002102/0.002102, allocations: 208.7 kB / 20.11 MB, free: 2.953 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.572/1.572, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.07359/0.07359, allocations: 14.4 MB / 296.8 MB, free: 1.879 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.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") [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.002245/0.002245, allocations: 67.91 kB / 418.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3681, allocations: 52.85 MB / 471.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003817/0.3719, allocations: 1.816 MB / 473.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004583/0.3724, allocations: 159.7 kB / 473.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3725, allocations: 2.844 kB / 473.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.3727, allocations: 21.08 kB / 473.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.3729, allocations: 30.16 kB / 473.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.373, allocations: 41.42 kB / 473.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.3732, allocations: 132.7 kB / 473.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3734, allocations: 40.42 kB / 473.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.3735, allocations: 47.56 kB / 473.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3736, allocations: 59.44 kB / 473.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.3737, allocations: 8.844 kB / 473.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.3737, allocations: 9.562 kB / 473.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.3737, allocations: 23.48 kB / 474 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.3738, allocations: 54.17 kB / 474 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.374, allocations: 106.4 kB / 474.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.374, allocations: 7.938 kB / 474.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.374, allocations: 1.125 kB / 474.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.374, allocations: 0 / 474.1 MB, free: 11.09 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007706/0.3748, allocations: 429.9 kB / 474.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3748, allocations: 8.031 kB / 474.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.3749, allocations: 16.84 kB / 474.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.3752, allocations: 220.7 kB / 474.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3753, allocations: 8.375 kB / 474.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.3753, allocations: 8.375 kB / 474.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.3756, allocations: 128.1 kB / 474.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3756, allocations: 0 / 474.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3756, allocations: 0 / 474.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3756, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.3758, allocations: 67.89 kB / 475 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.3766, allocations: 445.3 kB / 475.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.3771, allocations: 119.9 kB / 475.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3772, allocations: 46.55 kB / 475.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3773, allocations: 4 kB / 475.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3773, allocations: 38.5 kB / 475.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3773, allocations: 0 / 475.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004371/0.3777, allocations: 121.5 kB / 475.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.3778, allocations: 102.8 kB / 475.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.378, allocations: 150.7 kB / 476 MB, free: 8.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.378, allocations: 33.7 kB / 476 MB, free: 8.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.3781, allocations: 116 kB / 476.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3782, allocations: 35.72 kB / 476.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.3782, allocations: 17.72 kB / 476.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3784, allocations: 322.8 kB / 476.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.3785, allocations: 23.92 kB / 476.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3786, allocations: 69.38 kB / 476.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3788, allocations: 79.36 kB / 476.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3788, allocations: 3.938 kB / 476.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003828/0.3792, allocations: 134.4 kB / 476.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3792, allocations: 11.94 kB / 476.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3792, allocations: 0 / 476.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.3795, allocations: 36.83 kB / 476.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3796, allocations: 20.08 kB / 476.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3811, allocations: 1.461 MB / 478.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.3812, allocations: 11.94 kB / 478.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.3812, allocations: 4 kB / 478.4 MB, free: 6.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.3813, allocations: 117.8 kB / 478.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.3813, allocations: 7.953 kB / 478.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.3814, allocations: 24.23 kB / 478.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3814, allocations: 4 kB / 478.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3814, allocations: 4.062 kB / 478.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3814, allocations: 0 / 478.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.3817, allocations: 205.6 kB / 478.7 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3817, allocations: 0 / 478.7 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3818, allocations: 19.92 kB / 478.7 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.3818, allocations: 4.062 kB / 478.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3818, allocations: 7.938 kB / 478.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3818, allocations: 0 / 478.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3818, allocations: 0 / 478.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.3822, allocations: 237.1 kB / 479 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.3823, allocations: 93.03 kB / 479.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3823, allocations: 3.938 kB / 479.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3824, allocations: 7.984 kB / 479.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.3824, allocations: 16 kB / 479.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3824, allocations: 0 / 479.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3826, allocations: 119.9 kB / 479.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3826, allocations: 0 / 479.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3828, allocations: 20.14 kB / 479.2 MB, free: 5.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.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.0001251/0.3829, allocations: 103.3 kB / 479.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.3835, allocations: 198.7 kB / 479.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3835, allocations: 4 kB / 479.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3836, allocations: 31.92 kB / 479.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3839, allocations: 31.41 kB / 479.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.3846, allocations: 264.7 kB / 479.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.385, allocations: 0.7049 MB / 480.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.385, allocations: 12.55 kB / 480.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3851, allocations: 11.44 kB / 480.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3851, allocations: 0 / 480.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of Templates: time 0.004688/0.3897, allocations: 1.276 MB / 481.9 MB, free: 2.738 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.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.067160028003855]