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.001841/0.001841, 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.001608/0.001608, allocations: 212.1 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.458/1.458, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.07411/0.07411, allocations: 14.4 MB / 300.5 MB, free: 7.227 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.002268/0.002268, allocations: 75.91 kB / 424.2 MB, free: 36.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1067, allocations: 52.9 MB / 477.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003508/0.1102, allocations: 1.752 MB / 478.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004322/0.1106, allocations: 155.5 kB / 479 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1107, allocations: 7.938 kB / 479 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1109, allocations: 11.81 kB / 479 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1111, allocations: 35.77 kB / 479.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.1112, allocations: 39.91 kB / 479.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1114, allocations: 135.6 kB / 479.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1115, allocations: 45.44 kB / 479.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.1116, allocations: 43.84 kB / 479.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1117, allocations: 51.66 kB / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.1117, allocations: 12 kB / 479.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.208e-05/0.1118, allocations: 8 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1118, allocations: 19.92 kB / 479.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.1119, allocations: 39.8 kB / 479.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.112, allocations: 111.5 kB / 479.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1121, allocations: 0 / 479.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1121, allocations: 4 kB / 479.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1121, allocations: 0 / 479.6 MB, free: 12.76 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.0006509/0.1127, allocations: 349.8 kB / 479.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1128, allocations: 12.03 kB / 479.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.1128, allocations: 16.83 kB / 479.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1131, allocations: 162.8 kB / 480.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1132, allocations: 8.375 kB / 480.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.1132, allocations: 12.31 kB / 480.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1135, allocations: 124.3 kB / 480.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1135, allocations: 3.938 kB / 480.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1135, allocations: 11.98 kB / 480.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1135, allocations: 0 / 480.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.1137, allocations: 65.2 kB / 480.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.1144, allocations: 361 kB / 480.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.1148, allocations: 119.8 kB / 480.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1149, allocations: 50.55 kB / 480.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.115, allocations: 0 / 480.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.115, allocations: 38.56 kB / 480.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.115, allocations: 0 / 480.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004275/0.1154, allocations: 121.7 kB / 481 MB, free: 11.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.1155, allocations: 114.7 kB / 481.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1157, allocations: 146.4 kB / 481.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1157, allocations: 25.7 kB / 481.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.1158, allocations: 116 kB / 481.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1158, allocations: 31.73 kB / 481.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.1159, allocations: 17.72 kB / 481.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.116, allocations: 326.8 kB / 481.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.1161, allocations: 23.92 kB / 481.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1163, allocations: 116.5 kB / 481.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.1165, allocations: 87.66 kB / 482 MB, free: 10.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1165, allocations: 0 / 482 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003809/0.1169, allocations: 138.3 kB / 482.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1169, allocations: 8.094 kB / 482.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1169, allocations: 4 kB / 482.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.1171, allocations: 36.83 kB / 482.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1172, allocations: 15.98 kB / 482.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.1189, allocations: 1.319 MB / 483.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.119, allocations: 19.97 kB / 483.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.119, allocations: 4 kB / 483.5 MB, free: 8.418 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.0001229/0.1191, allocations: 125.8 kB / 483.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1191, allocations: 7.953 kB / 483.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.1192, allocations: 12.41 kB / 483.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1192, allocations: 7.922 kB / 483.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1192, allocations: 3.938 kB / 483.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1192, allocations: 4 kB / 483.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1194, allocations: 141.3 kB / 483.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1194, allocations: 4 kB / 483.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1195, allocations: 15.98 kB / 483.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.1195, allocations: 0 / 483.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1195, allocations: 8 kB / 483.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1195, allocations: 0 / 483.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.1195, allocations: 8.047 kB / 483.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1212, allocations: 1.261 MB / 485.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.1212, allocations: 15.92 kB / 485.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1212, allocations: 0 / 485.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1213, allocations: 7.984 kB / 485.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.1214, allocations: 15.97 kB / 485.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1214, allocations: 7.984 kB / 485.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1215, allocations: 119.9 kB / 485.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1215, allocations: 96 / 485.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.1218, allocations: 28 kB / 485.3 MB, free: 6.484 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.0001356/0.122, allocations: 91.25 kB / 485.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.1225, allocations: 198.5 kB / 485.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1225, allocations: 192 / 485.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1226, allocations: 28.17 kB / 485.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1229, allocations: 39.53 kB / 485.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.1237, allocations: 383.2 kB / 486 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.1238, allocations: 93.17 kB / 486.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.154e-05/0.1238, allocations: 8.5 kB / 486.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.1239, allocations: 11.44 kB / 486.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1239, allocations: 0 / 486.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of Templates: time 0.005485/0.1294, allocations: 1.504 MB / 487.6 MB, free: 4.086 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.041468008887023]