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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 104.3 kB / 19.71 MB, free: 1.914 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.002289/0.002289, allocations: 208.9 kB / 23 MB, free: 4.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.585/1.585, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.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.07197/0.07197, allocations: 14.39 MB / 300.5 MB, free: 7.234 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.002273/0.002273, allocations: 79.88 kB / 424.2 MB, free: 36.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 52.89 MB / 477.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003523/0.1345, allocations: 1.756 MB / 478.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.135, allocations: 151.5 kB / 479 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1351, allocations: 7.938 kB / 479 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1353, allocations: 19.8 kB / 479 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1355, allocations: 27.78 kB / 479.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.1356, allocations: 39.89 kB / 479.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1358, allocations: 127.7 kB / 479.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1359, allocations: 41.45 kB / 479.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.136, allocations: 59.72 kB / 479.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1361, allocations: 47.75 kB / 479.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.1362, allocations: 8 kB / 479.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.37e-05/0.1362, allocations: 12 kB / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.1362, allocations: 19.92 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.1363, allocations: 43.73 kB / 479.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1365, allocations: 107.5 kB / 479.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1365, allocations: 0 / 479.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1365, allocations: 4 kB / 479.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1365, allocations: 0 / 479.6 MB, free: 12.78 MB / 350.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.0007/0.1372, allocations: 357.8 kB / 479.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1372, allocations: 8.031 kB / 479.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.1373, allocations: 16.84 kB / 479.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1376, allocations: 158.8 kB / 480.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1376, allocations: 4.375 kB / 480.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1376, allocations: 12.38 kB / 480.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.1379, allocations: 132.2 kB / 480.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1379, allocations: 0 / 480.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1379, allocations: 0 / 480.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.138, allocations: 7.938 kB / 480.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.1382, allocations: 61.2 kB / 480.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.1388, allocations: 361 kB / 480.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.1393, allocations: 123.7 kB / 480.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1394, allocations: 42.69 kB / 480.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1394, allocations: 8 kB / 480.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.1395, allocations: 30.56 kB / 480.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1395, allocations: 4 kB / 480.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004095/0.1399, allocations: 125.7 kB / 481 MB, free: 11.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.14, allocations: 110.8 kB / 481.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1401, allocations: 146.4 kB / 481.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.1402, allocations: 33.7 kB / 481.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1403, allocations: 112 kB / 481.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1403, allocations: 27.73 kB / 481.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.1404, allocations: 29.7 kB / 481.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1406, allocations: 322.8 kB / 481.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1407, allocations: 19.98 kB / 481.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.1408, allocations: 108.8 kB / 481.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.141, allocations: 95.34 kB / 482 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.141, allocations: 0 / 482 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003873/0.1414, allocations: 138.3 kB / 482.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1414, allocations: 8.094 kB / 482.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1415, allocations: 0 / 482.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.1417, allocations: 36.83 kB / 482.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1418, allocations: 15.98 kB / 482.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1432, allocations: 1.327 MB / 483.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1433, allocations: 15.95 kB / 483.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1434, allocations: 4 kB / 483.5 MB, free: 8.441 MB / 350.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.0001208/0.1435, allocations: 121.8 kB / 483.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1435, allocations: 11.94 kB / 483.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.1435, allocations: 16.41 kB / 483.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1436, allocations: 4 kB / 483.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1436, allocations: 3.938 kB / 483.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1436, allocations: 0 / 483.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1438, allocations: 141.3 kB / 483.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1438, allocations: 4 kB / 483.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1439, allocations: 16.17 kB / 483.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1439, allocations: 4 kB / 483.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1439, allocations: 8 kB / 483.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1439, allocations: 0 / 483.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1439, allocations: 4 kB / 483.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.1456, allocations: 1.273 MB / 485.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.1456, allocations: 15.88 kB / 485.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1456, allocations: 0 / 485.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1457, allocations: 8 kB / 485.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.1458, allocations: 11.92 kB / 485.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1458, allocations: 0 / 485.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1459, allocations: 119.9 kB / 485.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1459, allocations: 96 / 485.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.1463, allocations: 32 kB / 485.3 MB, free: 6.508 MB / 350.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.0001262/0.1464, allocations: 91.25 kB / 485.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.147, allocations: 198.5 kB / 485.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.147, allocations: 0 / 485.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1471, allocations: 32.23 kB / 485.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1474, allocations: 39.47 kB / 485.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.1482, allocations: 375.6 kB / 486 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.1483, allocations: 89.19 kB / 486.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.725e-05/0.1484, allocations: 12.48 kB / 486.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1484, allocations: 15.44 kB / 486.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1484, allocations: 0 / 486.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005039/0.1535, allocations: 1.507 MB / 487.6 MB, free: 4.105 MB / 350.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.075817285571247]