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.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.001994/0.001994, allocations: 118.9 kB / 17.15 MB, free: 5.773 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.002354/0.002354, allocations: 195.7 kB / 20.1 MB, free: 2.859 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.672/1.672, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.06919/0.06919, allocations: 14.4 MB / 296.7 MB, free: 1.914 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.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.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.003055/0.003055, allocations: 71.89 kB / 418.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2691, allocations: 52.86 MB / 471.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.004183/0.2732, allocations: 1.804 MB / 473.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000521/0.2738, allocations: 151.5 kB / 473.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2739, allocations: 6.344 kB / 473.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.2741, allocations: 17.58 kB / 473.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.2743, allocations: 34.77 kB / 473.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.2744, allocations: 33.78 kB / 473.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.2746, allocations: 131.4 kB / 473.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2748, allocations: 45.77 kB / 473.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.2749, allocations: 48.83 kB / 473.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.275, allocations: 59.17 kB / 473.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.275, allocations: 10.5 kB / 473.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.251e-05/0.2751, allocations: 9.094 kB / 473.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.2751, allocations: 23.11 kB / 473.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.2752, allocations: 49.95 kB / 474 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.2754, allocations: 112.5 kB / 474.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2754, allocations: 0 / 474.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2754, allocations: 1.156 kB / 474.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2754, allocations: 0 / 474.1 MB, free: 10.96 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.0007419/0.2761, allocations: 431 kB / 474.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.2762, allocations: 9.812 kB / 474.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.2762, allocations: 22.28 kB / 474.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.2766, allocations: 216.7 kB / 474.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2766, allocations: 8.375 kB / 474.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.2767, allocations: 12.38 kB / 474.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.277, allocations: 120.3 kB / 474.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.277, allocations: 3.938 kB / 474.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.277, allocations: 8 kB / 474.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.277, allocations: 0 / 474.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2772, allocations: 63.95 kB / 475 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.278, allocations: 449.3 kB / 475.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.2784, allocations: 115.8 kB / 475.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.2786, allocations: 54.55 kB / 475.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2786, allocations: 3.984 kB / 475.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2786, allocations: 38.56 kB / 475.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2786, allocations: 0 / 475.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004399/0.2791, allocations: 121.5 kB / 475.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/0.2792, allocations: 114.7 kB / 475.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.2794, allocations: 146.4 kB / 476 MB, free: 8.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2794, allocations: 29.7 kB / 476 MB, free: 8.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.2795, allocations: 112 kB / 476.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.2795, allocations: 31.73 kB / 476.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.2796, allocations: 25.97 kB / 476.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2798, allocations: 322.8 kB / 476.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.955e-05/0.2799, allocations: 23.98 kB / 476.5 MB, free: 8.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.28, allocations: 61.12 kB / 476.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.2802, allocations: 75.39 kB / 476.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2802, allocations: 4 kB / 476.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003967/0.2806, allocations: 142.3 kB / 476.8 MB, free: 7.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.2806, allocations: 8 kB / 476.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.2806, allocations: 7.938 kB / 476.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.2809, allocations: 36.83 kB / 476.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.281, allocations: 8 kB / 476.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.2825, allocations: 1.45 MB / 478.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2826, allocations: 19.97 kB / 478.3 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2826, allocations: 4 kB / 478.3 MB, free: 6.316 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.0001243/0.2828, allocations: 125.9 kB / 478.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.2828, allocations: 12.03 kB / 478.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.2828, allocations: 24.22 kB / 478.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2828, allocations: 0 / 478.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.2828, allocations: 0 / 478.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2828, allocations: 4 kB / 478.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.2832, allocations: 205.5 kB / 478.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2832, allocations: 4 kB / 478.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.2833, allocations: 19.98 kB / 478.7 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2833, allocations: 0 / 478.7 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2833, allocations: 7.938 kB / 478.7 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2833, allocations: 4 kB / 478.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2833, allocations: 0 / 478.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.2837, allocations: 237 kB / 478.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.2838, allocations: 85.09 kB / 479 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.2838, allocations: 7.938 kB / 479 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2839, allocations: 7.984 kB / 479 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.284, allocations: 4 kB / 479.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.284, allocations: 8.172 kB / 479.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.2841, allocations: 116 kB / 479.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2841, allocations: 3.938 kB / 479.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.2843, allocations: 28.02 kB / 479.2 MB, free: 5.332 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.0001661/0.2845, allocations: 99.17 kB / 479.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005417/0.2851, allocations: 190.6 kB / 479.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.2851, allocations: 4 kB / 479.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2852, allocations: 40.23 kB / 479.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2855, allocations: 27.02 kB / 479.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.2863, allocations: 256.6 kB / 479.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.2868, allocations: 0.7049 MB / 480.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.313e-05/0.2869, allocations: 12.8 kB / 480.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.287, allocations: 19.38 kB / 480.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.287, allocations: 4 kB / 480.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of Templates: time 0.005245/0.2922, allocations: 1.272 MB / 481.8 MB, free: 2.637 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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.067243923898786]