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.001414/0.001414, allocations: 113 kB / 17.86 MB, free: 5.062 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.001516/0.001516, allocations: 205.3 kB / 20.82 MB, free: 2.121 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.815/1.815, allocations: 207.6 MB / 231.2 MB, free: 4.137 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.06922/0.06922, allocations: 14.41 MB / 297.5 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.003115/0.003115, allocations: 68.42 kB / 419.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.338, allocations: 52.87 MB / 472.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.004186/0.3421, allocations: 1.815 MB / 474.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.3426, allocations: 152.3 kB / 474.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3427, allocations: 2.906 kB / 474.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.3429, allocations: 21.02 kB / 474.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.3431, allocations: 34.42 kB / 474.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.3432, allocations: 33.94 kB / 474.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3434, allocations: 140 kB / 474.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3436, allocations: 41.08 kB / 474.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.3436, allocations: 46 kB / 474.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3438, allocations: 59.47 kB / 474.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3438, allocations: 13.25 kB / 474.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.309e-05/0.3438, allocations: 10.88 kB / 474.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.3439, allocations: 18.33 kB / 474.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.3439, allocations: 50.39 kB / 474.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.3441, allocations: 110 kB / 474.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.3441, allocations: 8.766 kB / 474.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3441, allocations: 0 / 474.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3441, allocations: 4 kB / 474.8 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008544/0.345, allocations: 428.4 kB / 475.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.345, allocations: 8.031 kB / 475.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.3451, allocations: 16.84 kB / 475.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3455, allocations: 216.7 kB / 475.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3455, allocations: 8.375 kB / 475.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3455, allocations: 16.38 kB / 475.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.3458, allocations: 123.4 kB / 475.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3458, allocations: 0 / 475.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3458, allocations: 4 kB / 475.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3458, allocations: 0 / 475.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.346, allocations: 67.89 kB / 475.7 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000821/0.3469, allocations: 449.3 kB / 476.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.3473, allocations: 119.8 kB / 476.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3475, allocations: 42.62 kB / 476.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3475, allocations: 4 kB / 476.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.3475, allocations: 38.5 kB / 476.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3475, allocations: 4 kB / 476.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000445/0.348, allocations: 121.5 kB / 476.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.3481, allocations: 106.8 kB / 476.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3483, allocations: 146.4 kB / 476.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3483, allocations: 29.7 kB / 476.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.3484, allocations: 112.2 kB / 476.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3484, allocations: 35.72 kB / 476.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.3485, allocations: 33.59 kB / 476.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3486, allocations: 318.8 kB / 477.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.3487, allocations: 23.98 kB / 477.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3489, allocations: 65.12 kB / 477.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3491, allocations: 83.59 kB / 477.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.3491, allocations: 4 kB / 477.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003998/0.3495, allocations: 138.3 kB / 477.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3495, allocations: 4 kB / 477.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3495, allocations: 4 kB / 477.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.3497, allocations: 40.77 kB / 477.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3498, allocations: 11.98 kB / 477.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.3513, allocations: 1.454 MB / 479.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3514, allocations: 16.03 kB / 479.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3514, allocations: 4 kB / 479.1 MB, free: 6.262 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.0001312/0.3515, allocations: 121.8 kB / 479.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.3516, allocations: 7.953 kB / 479.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.3516, allocations: 20.23 kB / 479.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3516, allocations: 0 / 479.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3516, allocations: 0 / 479.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3516, allocations: 4 kB / 479.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3519, allocations: 213.5 kB / 479.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3519, allocations: 4 kB / 479.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.352, allocations: 19.92 kB / 479.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.352, allocations: 0 / 479.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.352, allocations: 3.938 kB / 479.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.352, allocations: 4 kB / 479.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.352, allocations: 0 / 479.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.3524, allocations: 233.2 kB / 479.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.3525, allocations: 97.03 kB / 479.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3525, allocations: 3.938 kB / 479.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3526, allocations: 7.984 kB / 479.8 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3527, allocations: 7.984 kB / 479.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.3527, allocations: 8 kB / 479.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3528, allocations: 120 kB / 479.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 0 / 479.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.3531, allocations: 19.95 kB / 480 MB, free: 5.285 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.0001331/0.3532, allocations: 103.4 kB / 480.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.3537, allocations: 190.6 kB / 480.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3537, allocations: 8.125 kB / 480.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3538, allocations: 35.92 kB / 480.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3542, allocations: 27.92 kB / 480.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.3548, allocations: 252.6 kB / 480.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3552, allocations: 0.7089 MB / 481.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.724e-05/0.3553, allocations: 12.55 kB / 481.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.3553, allocations: 15.44 kB / 481.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3553, allocations: 7.875 kB / 481.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Templates: time 0.004811/0.3602, allocations: 1.272 MB / 482.6 MB, free: 2.59 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.4253271839697845]