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.001817/0.001817, allocations: 104.3 kB / 19.71 MB, free: 1.938 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.002425/0.002425, allocations: 219.2 kB / 23 MB, free: 4.977 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.7 MB / 233.8 MB, free: 9.801 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.07028/0.07028, allocations: 14.39 MB / 300.5 MB, free: 7.25 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.00227/0.00227, allocations: 75.88 kB / 424.2 MB, free: 36.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1058, allocations: 52.9 MB / 477.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003276/0.1091, allocations: 1.744 MB / 478.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004185/0.1095, allocations: 163.5 kB / 479 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1096, allocations: 7.938 kB / 479 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1098, allocations: 15.8 kB / 479 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1099, allocations: 27.8 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.609e-05/0.11, allocations: 35.89 kB / 479.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1102, allocations: 131.7 kB / 479.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1104, allocations: 45.44 kB / 479.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.1105, allocations: 55.72 kB / 479.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1106, allocations: 43.77 kB / 479.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1106, allocations: 12 kB / 479.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.1106, allocations: 8 kB / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.1106, allocations: 27.86 kB / 479.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.1107, allocations: 39.78 kB / 479.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1109, allocations: 107.5 kB / 479.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1109, allocations: 0 / 479.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1109, allocations: 0 / 479.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1109, 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.0006766/0.1116, allocations: 361.8 kB / 479.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1116, allocations: 8.031 kB / 479.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.1117, allocations: 16.84 kB / 479.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.112, allocations: 158.9 kB / 480.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.112, allocations: 8.375 kB / 480.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.1121, allocations: 4.375 kB / 480.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.1123, allocations: 124.3 kB / 480.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1123, allocations: 7.938 kB / 480.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1124, allocations: 8 kB / 480.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1124, allocations: 3.938 kB / 480.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1125, allocations: 55.95 kB / 480.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.1132, allocations: 368.9 kB / 480.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.1136, allocations: 123.8 kB / 480.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1137, allocations: 50.56 kB / 480.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1137, allocations: 0 / 480.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1138, allocations: 34.56 kB / 480.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1138, allocations: 0 / 480.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004176/0.1142, allocations: 121.5 kB / 481 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.1143, allocations: 110.8 kB / 481.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1144, allocations: 158.7 kB / 481.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.1145, allocations: 25.7 kB / 481.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.1146, allocations: 116 kB / 481.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1146, allocations: 27.75 kB / 481.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.1146, allocations: 21.7 kB / 481.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1148, allocations: 322.8 kB / 481.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.1149, allocations: 23.98 kB / 481.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.115, allocations: 112.5 kB / 481.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1152, allocations: 79.38 kB / 482 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1152, allocations: 4 kB / 482 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003731/0.1156, allocations: 138.3 kB / 482.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1156, allocations: 4 kB / 482.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1156, allocations: 4 kB / 482.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.1158, allocations: 36.92 kB / 482.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1159, allocations: 16.3 kB / 482.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.1172, allocations: 1.327 MB / 483.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.1173, allocations: 15.92 kB / 483.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1173, allocations: 8.062 kB / 483.5 MB, free: 8.434 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.0001144/0.1174, allocations: 121.8 kB / 483.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.1175, allocations: 11.95 kB / 483.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.1175, allocations: 16.39 kB / 483.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1175, allocations: 0 / 483.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1175, allocations: 3.938 kB / 483.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1175, allocations: 4 kB / 483.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1177, allocations: 141.3 kB / 483.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1177, allocations: 4 kB / 483.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.1178, allocations: 20.17 kB / 483.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1178, allocations: 3.938 kB / 483.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1178, allocations: 7.938 kB / 483.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1178, allocations: 0 / 483.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1178, allocations: 0 / 483.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.1193, allocations: 1.273 MB / 485.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.1194, allocations: 15.91 kB / 485.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1194, allocations: 8 kB / 485.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1195, allocations: 4 kB / 485.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.1195, allocations: 11.92 kB / 485.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1195, allocations: 4 kB / 485.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.635e-05/0.1196, allocations: 119.9 kB / 485.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1196, allocations: 0 / 485.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.12, allocations: 24 kB / 485.3 MB, free: 6.5 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 9.984e-05/0.1201, allocations: 95.34 kB / 485.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.1206, allocations: 194.5 kB / 485.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1206, allocations: 4 kB / 485.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1207, allocations: 35.91 kB / 485.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.121, allocations: 27.84 kB / 485.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.1217, allocations: 379.6 kB / 486 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.685e-05/0.1218, allocations: 89.19 kB / 486.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.1219, allocations: 16.48 kB / 486.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1219, allocations: 11.44 kB / 486.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1219, allocations: 0 / 486.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of Templates: time 0.005123/0.1271, allocations: 1.507 MB / 487.6 MB, free: 4.098 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/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.082775168120861]